From: Mark Mitchell Date: Thu, 6 Aug 1998 09:56:09 +0000 (+0000) Subject: New test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8b0896fe66c3ef592d99d3a2f02eb2d986eb2b1;p=gcc.git New test From-SVN: r21621 --- diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lookup2.C b/gcc/testsuite/g++.old-deja/g++.pt/lookup2.C new file mode 100644 index 00000000000..169aee09ca3 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/lookup2.C @@ -0,0 +1,20 @@ +// Build don't link: +// Special g++ Options: + +class A +{ +protected: + void f1() {}; +}; + +template class B : private A { +protected: + using A::f1; +}; + +template class D : private B +{ +public: + void f2() { f1(); }; +}; +