Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
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
};