1 // { dg-options -std=c++0x }
2 
3 struct A
4 {
5   int i;
6   ~A();
7 };
8 
9 constexpr int i = A().i;	// { dg-error "non-literal" }
10