diff options
author | Martin v. Löwis <loewis@gcc.gnu.org> | 1998-10-21 14:41:04 +0000 |
---|---|---|
committer | Martin v. Löwis <loewis@gcc.gnu.org> | 1998-10-21 14:41:04 +0000 |
commit | 822a4ff1627c2688dab2df69cf66245407bd7cd9 (patch) | |
tree | f97ebfad9dfa14d5ecb75abe0c425c3c9eb1ea8d | |
parent | 6946bc60bfa14c6d48e3a1b655384502e84c591c (diff) | |
download | gcc-822a4ff1627c2688dab2df69cf66245407bd7cd9.zip gcc-822a4ff1627c2688dab2df69cf66245407bd7cd9.tar.gz gcc-822a4ff1627c2688dab2df69cf66245407bd7cd9.tar.bz2 |
New test case.
From-SVN: r23214
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.martin/lookup1.C | 22 |
1 files changed, 22 insertions, 0 deletions
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 0000000..d45a02e --- /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 <vavasis@CS.Cornell.EDU> + +namespace N1 { + namespace N2 { + class A{}; + class B; + } +} + +class N1::N2::B : public A { +}; + + +class C1 { + class A{}; + class B; +}; + +class C1::B : A { +}; |