From: Jason Merrill Date: Sun, 13 Dec 1998 18:56:43 +0000 (-0500) Subject: new X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de2789051118475b71889bf276b1702a2525823d;p=gcc.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 00000000000..55726a5d613 --- /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; +}