From 822a4ff1627c2688dab2df69cf66245407bd7cd9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 21 Oct 1998 14:41:04 +0000 Subject: [PATCH] New test case. From-SVN: r23214 --- .../g++.old-deja/g++.martin/lookup1.C | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.martin/lookup1.C 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 { +}; -- 2.30.2