diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp19.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memtemp19.C | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp19.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp19.C deleted file mode 100644 index 8551531b5cd..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp19.C +++ /dev/null @@ -1,25 +0,0 @@ -// Build don't run: -// GROUPS passed templates membertemplates -extern "C" int printf(const char*, ...); - -struct S { - template <class T> - operator T(); -}; - -template <class T> -S::operator T() -{ - printf("Hello, world.\n"); - return T(); -} - - -template S::operator int(); - -int main() -{ - S s; - - int i = s.operator int(); -} |