1 2 3 4 5 6 7
// PR c++/60186 // { dg-require-effective-target c++11 } template<typename> void foo(int i) { constexpr int a[] = { i }; // { dg-error "" } }