2 // { dg-do compile { target c++14 } }
7 __extension__ int a [n] = { 0 };
8 int z = a [0] + (n ? fn_bad (n - 1) : 0);
15 __extension__ int a [n] = { 0 };
16 int z = a [0] + (n > 1 ? fn_ok (n - 1) : 0);
20 constexpr int i1 = fn_ok (3);
21 constexpr int i2 = fn_bad (3); // { dg-error "array subscript" }