PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr71577.C
blob15794ad62cb6c2fc231dadcc4635e22f40be286d
1 // PR c++/71577
2 // { dg-do compile { target c++11 } }
4 struct { int a; } s1, s2 = { s1, 0 };  // { dg-error "too many initializers" }