diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/conv1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/conv1.C | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/conv1.C b/gcc/testsuite/g++.old-deja/g++.pt/conv1.C deleted file mode 100644 index 19e433e2f70..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/conv1.C +++ /dev/null @@ -1,19 +0,0 @@ -// Build don't link: - -template <class T> -struct S1 {}; - -struct S2 -{ - template <class T> - operator S1<T>*(); -}; - -struct D: public S1<int> { -}; - -void f() -{ - S2 s; - (D*) s; // ERROR - cannot convert -} |