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