]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/operator2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / operator2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/operator2.C b/gcc/testsuite/g++.old-deja/g++.jason/operator2.C
deleted file mode 100644 (file)
index 4776160..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// PRMS Id: 6018
-// Build don't link:
-
-class string {
-    char *p;
-public:
-    string(const char* s) ;// { p == s; }
-    operator const char*() ;// { return s; }
-};
-void f4(string& s)
-{
-        *s;     // implies "s.operator const char*()"
-}