Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
switch4.C
blob: 070c55e49329dafe12cfe15f2edaa8a2071ea759 [
file
] [
log
] [
blame
]
// PR c++/86546
class
a b
;
// { dg-error "aggregate" }
void
c
()
{
switch
()
// { dg-error "expected" }
case
b
// { dg-error "9:expected" }