blob: 6fea82f515c6bd3df070f564f31610fafc938e8f [file] [log] [blame]
// PR c++/60186
// { dg-require-effective-target c++11 }
template<typename> void foo(int i)
{
constexpr int a[] = { i }; // { dg-error "" }
}