Merge from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist77.C
blob49b9079fb44580e1ea569a94d3059d65a0b07582
1 // PR c++/58651
2 // { dg-require-effective-target c++11 }
4 struct A
6   int i;
7   A(int j) : i{{j}} {}          // { dg-error "too many braces" }
8 };
10 A a(0);