]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/conversion10.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / conversion10.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/conversion10.C b/gcc/testsuite/g++.old-deja/g++.jason/conversion10.C
deleted file mode 100644 (file)
index 97bb707..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// PRMS Id: 9019
-// Bug: g++ doesn't find conversion to const char *.
-// Build don't link:
-
-struct String {
-  String ();
-  explicit String (const char *);
-  operator const char * ();
-};
-
-int main(int argc, char **argv) 
-{
-       String deflt("no args");
-       String useme;
-
-       const char *p = (argv[1]) ? argv[1] : deflt;
-
-       return 0;
-}