From: jason Date: Wed, 1 Mar 2000 08:37:57 +0000 (+0000) Subject: new X-Git-Tag: upstream/4.9.2~102936 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b684888e66370c9829459c50f56b3e2bbee06076;p=platform%2Fupstream%2Flinaro-gcc.git new git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32277 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/g++.old-deja/g++.other/using7.C b/gcc/testsuite/g++.old-deja/g++.other/using7.C new file mode 100644 index 0000000..56f2e84 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/using7.C @@ -0,0 +1,21 @@ +// Build don't link: + +class A { +protected: + static void f() {}; +}; + +class B : A { +public: + using A::f; + void g() { + f(); + A::f(); + } + struct C { + void g() { + f(); + A::f(); + } + }; +};