X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fmemtemp53.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fmemtemp53.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=4fd65b9f1cc997df737bb307cf50234988091372;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp53.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp53.C deleted file mode 100644 index 4fd65b9f..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp53.C +++ /dev/null @@ -1,36 +0,0 @@ -// Build don't run: -// GROUPS passed templates membertemplates -template -struct I { -}; - -template -struct A { - - int r; - - template - void operator()(T1, T2) - { r = 0; } - - template - void operator()(I, I) - { r = 1; } -}; - -int main() -{ - A x; - I<0> a; - I<1> b; - - x(a,b); - if (x.r != 1) - return 1; - - x(float(), double()); - if (x.r != 0) - return 1; - - return 0; -}