1 // { dg-do compile { target c++11 } }
2 
3 struct A
4 {
5   void *p;
AA6   constexpr A(): p(this) {}
7 };
8 
9 constexpr A a;
10 constexpr A b = A();
11 
12 #define SA(X) static_assert ((X), #X)
13 SA(a.p == &a);
14 SA(b.p == &b);
15