libstdc++: [_Hashtable] Fix some implementation inconsistencies
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-array24.C
blob538969830bac19aa7632a2bb97efa6bfce4ee9ad
1 // PR c++/90951
2 // { dg-do compile { target c++11 } }
4 #define assert(expr) static_assert (expr, #expr)
6 struct S { const char a[2]; };
8 constexpr struct S a[1][1][1] = { };
10 assert ('\0' == *a[0][0][0].a);