X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fcrash66.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fcrash66.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=5bbac5e196d7eec70b73d3020f15652fef9afb9b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash66.C b/gcc/testsuite/g++.old-deja/g++.pt/crash66.C deleted file mode 100644 index 5bbac5e1..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/crash66.C +++ /dev/null @@ -1,40 +0,0 @@ -// Build don't link: -// -// Copyright (C) 2001 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 7 May 2001 - -// Bug 2525. We ICEd when a namespace scope template was erroneously -// given as a base member init. - -namespace N1 -{ - template - struct B - { - B (T); - }; - - template - struct D : B - { - D (T r) - : B (r) // ERROR - no field named B - {} - }; -} - -template -struct D1 : N1::B -{ - D1 (T r) - : N1::B (r) - {} -}; - -template -struct D2 : N1::B -{ - D2 (T r) - : N1::B (r) // ERROR - no field named N1::B - {} -};