Add execution tests of ARM EXT intrinsics
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-value3.C
blob8fd9c744536d534ba4cb1e651f68c9a829be0435
1 // PR c++/50234
2 // { dg-do compile { target c++11 } }
4 #define SA(X) static_assert((X),#X)
6 struct A { int i; };
8 constexpr int f(A a) { return a.i; }
10 SA(f({}) == 0);