Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
anon4.C
blob: 37df228da9ba460c13dbeb86e60de781edf79576 [
file
] [
log
] [
blame
]
// PR c++/27951
// { dg-do compile }
void
foo
()
{
int
i
;
// { dg-message "previously" }
union
{
int
i
;
};
// { dg-error "redeclaration" }
}