summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash46.C
blob: f454a0a192cfee59ac62010464d757a2698490c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// PR c++/37532
// { dg-do compile }

void
foo (_Decimal32)	// { dg-error "declared void" }
{
}
			// { dg-error "was not declared" "" { target *-*-* } 5 }
void
bar (_Bool)		// { dg-error "declared void" }
{
}
			// { dg-error "was not declared" "" { target *-*-* } 10 }
void
baz (_Fract)		// { dg-error "declared void" }
{
}
			// { dg-error "was not declared" "" { target *-*-* } 15 }