X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Ftemplate22.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Ftemplate22.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=ce247e80752edd6171533a910086223e692dffc3;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template22.C b/gcc/testsuite/g++.old-deja/g++.jason/template22.C deleted file mode 100644 index ce247e80..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/template22.C +++ /dev/null @@ -1,31 +0,0 @@ -// Testcase for proper unification of code involving references. -// Build don't link: - -template -struct A -{ - void foo(); -}; - -template void A::foo() { } - -template class A; - -const int& f1 (); -int& f2 (); -int f3 (); - -template void g1 (const T&); -template void g2 (T&); -template void g3 (T); - -int main() -{ - g1 (f1 ()); - g1 (f2 ()); - g1 (f3 ()); - g2 (f2 ()); - g3 (f1 ()); - g3 (f2 ()); - g3 (f3 ()); -}