X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fctors18.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.law%2Fctors18.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=e7a666e3e80bd881b58ad28a4a323ff1bb229901;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.law/ctors18.C b/gcc/testsuite/g++.old-deja/g++.law/ctors18.C deleted file mode 100644 index e7a666e3..00000000 --- a/gcc/testsuite/g++.old-deja/g++.law/ctors18.C +++ /dev/null @@ -1,27 +0,0 @@ -// Build don't link: -// GROUPS passed constructors -class test1 { -}; - -template -class GC_PTR { -public: - GC_PTR(T &a) {} -}; - - -void -gotPtrs(GC_PTR r1) -{ -} - -static void -short_alloc(int n) -{ - test1 here; - GC_PTR foo = here; // This works fine. - - gotPtrs(here); // Compile error from this - // No constructor named `GC_PTR` in visible scope - // conversion between incompatible aggregate types requested -}