FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / scoping8.C
blobde023d1c3e182c35f1eeae52bf13ff950e82a409
1 // Bug: g++ allows two different meanings of a name in the same scope.
3 typedef int foo;                // ERROR - 
4 struct A {
5   A (foo);
6   int foo ();                   // ERROR - foo already used in scope
7 };