summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/init4.C
blob: aa2bfb6583235fe33c6491c5a7e7099b32d5a5b7 (plain)
1
2
3
4
5
// { dg-do assemble  }
// GROUPS passed initialization
struct CharList { int i; };

const CharList& terminals = { 1 }; // { dg-error "initializer lists" } c++0x