X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fmemtemp78.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fmemtemp78.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=945e7ff68f0a316c8f3f0d5893a4502045266e74;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C deleted file mode 100644 index 945e7ff6..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C +++ /dev/null @@ -1,56 +0,0 @@ -// Build don't link: - -struct A -{ - void f() {} - - template - void f() {} -}; - - -template -struct B -{ - void f() {} - - template - void f() {} -}; - -template struct B; - -struct C -{ - template - void f() {} - - template - void f() {} // ERROR - redeclaration -}; - - -template -struct D -{ - void f(T); - void f(U); -}; - -template struct D; - -template -struct D2 -{ - void f(T); - void f(U); // ERROR - redeclaration -}; - -template struct D2; - -struct E -{ - void f(); - void f(); // ERROR - redeclaration -}; -