[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / pr28291.C
blob1b3b9f40a1fa238c5e1d17a8bd0037233368a8a9
2 // Test to make sure we do not ICE on this invalid program.
4 // { dg-do compile }
5 // { dg-options "" }
7 struct A
9   static int i;
10   int j;
13 A a = { i:0 }; // { dg-error "non-static data member" }