Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping8.C
blob: de023d1c3e182c35f1eeae52bf13ff950e82a409 [
file
] [
log
] [
blame
]
// Bug: g++ allows two different meanings of a name in the same scope.
typedef
int
foo
;
// ERROR -
struct
A
{
A
(
foo
);
int
foo
();
// ERROR - foo already used in scope
};