PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / crash46.C
blob0ae22480fde9a59357481f3def6bdd114b5e2942
1 // PR c++/37532
2 // { dg-do compile }
4 void
5 foo (_Decimal32)        // { dg-error "declared void" "declared" }
8                         // { dg-error "was not declared" "not" { target *-*-* } 5 }
9 void
10 bar (_Bool)             // { dg-error "declared void" "declared" }
13                         // { dg-error "was not declared" "not" { target *-*-* } 10 }
14 void
15 baz (_Fract)            // { dg-error "declared void" "declared" }
18                         // { dg-error "was not declared" "not" { target *-*-* } 15 }