blob: bd8a0f40e05895cd9d93530ca3abe9b427510ceb [file] [log] [blame]
// PR c++/29728
template<int> void foo()
{
int a[] = { X: 0 }; // { dg-error "designated initializer" }
}