]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/memtemp10.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp10.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp10.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp10.C
deleted file mode 100644 (file)
index 9e97b5e..0000000
+++ /dev/null
@@ -1,24 +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 0;
-}
-
-
-int main()
-{
-  S s;
-
-  char* cp = s.operator char*();
-}