X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Ftypename25.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Ftypename25.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=eb3b4eedac2e81266046265ab5cbabaf3e77f34b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename25.C b/gcc/testsuite/g++.old-deja/g++.pt/typename25.C deleted file mode 100644 index eb3b4eed..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/typename25.C +++ /dev/null @@ -1,32 +0,0 @@ -// Build don't link: -// Special g++ Options: -// Copyright (C) 2000 Free Software Foundation -// Adapted by Nathan Sidwell 1 July 2000 -// Derived from a bug report by scott snyder -// Our implicit typename extension was causing this pedantically -// correct program to fail - -struct list -{ - typedef int reference; -}; - -class d0_Collection_Base {}; - - -template -class d0_List_1 - : virtual public d0_Collection_Base, - public list -{ -public: - typedef int reference; -}; - -template -class d0_List -{ -public: - typedef d0_List_1 Base; - typedef typename Base::reference reference; -};