PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / else-2.C
blob7f0b23cd701d2819895348015a431af96b374fbf
1 // { dg-do compile }
2 // { dg-options " " }
4 int f()
7   else  // { dg-error "'else' without a previous 'if'" }
8     {
9       return 0;
10     }