2 // { dg-do compile { target c++14 } }
7 __extension__ int a[n] = { };
10 for (unsigned i = 0; i < sizeof (a) / sizeof (int); ++i)
20 __extension__ int a[n] = { };
23 for (unsigned i = 0; i < sizeof (a); ++i)
29 constexpr int n1 = fn_ok (3);
30 constexpr int n2 = fn_not_ok (3); // { dg-error "array subscript|in .constexpr. expansion of " }