Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping7.C
blob: 245c8fa073eac3f8b917982e8ce0dc4e87bc0191 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ doesn't flag name collisions between types and non-types as
// errors. It shouldn't for class names, but it should for typedefs.
int
bar
;
// { dg-message "" }
typedef
int
bar
;
// { dg-error "" }