From: Jason Merrill Date: Sun, 13 Dec 1998 18:56:43 +0000 (-0500) Subject: new X-Git-Tag: prereleases/libgcj-0.1~1641 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de2789051118475b71889bf276b1702a2525823d;p=thirdparty%2Fgcc.git new From-SVN: r24302 --- diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup7.C b/gcc/testsuite/g++.old-deja/g++.other/lookup7.C new file mode 100644 index 000000000000..55726a5d6131 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/lookup7.C @@ -0,0 +1,12 @@ +// Test for handling of type shadowing in function scope. + +int main() +{ + int A = 42; + struct A + { + enum { a }; + }; + A = A::a; + return A; +}