Sign in
llvm
/
llvm-archive
/
1456578521548c1ea3e191fcd25bb39efd8203cd
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping7.C
blob: 41859aa3981118060c7932ebd61cc25569ea6aa5 [
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-error "" }
typedef
int
bar
;
// { dg-error "" }