From: Martin v. Löwis Date: Wed, 21 Oct 1998 14:41:04 +0000 (+0000) Subject: New test case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=822a4ff1627c2688dab2df69cf66245407bd7cd9;p=gcc.git New test case. From-SVN: r23214 --- diff --git a/gcc/testsuite/g++.old-deja/g++.martin/lookup1.C b/gcc/testsuite/g++.old-deja/g++.martin/lookup1.C new file mode 100644 index 00000000000..d45a02e0ec3 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.martin/lookup1.C @@ -0,0 +1,22 @@ +//Build don't link: +//In the base class list, the context of the current is used +//reported by Stephen Vavasis + +namespace N1 { + namespace N2 { + class A{}; + class B; + } +} + +class N1::N2::B : public A { +}; + + +class C1 { + class A{}; + class B; +}; + +class C1::B : A { +};