]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.law/operators3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / operators3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.law/operators3.C b/gcc/testsuite/g++.old-deja/g++.law/operators3.C
deleted file mode 100644 (file)
index e4a8341..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// Build don't link: 
-// GROUPS passed operators
-// opr-pl file
-// Message-Id: <9212010409.AA24967@zeus.research.otc.com.au>
-// From: grahamd@zeus.research.otca.oz.au (Graham Dumpleton)
-// Subject: Failure to use conversion operator.
-// Date: Tue, 1 Dec 92 15:11:18 EST
-
-class BUG1
-{
-  public:
-
-    operator char*() const { return myData; }
-    char* myData;
-};
-
-void bug1()
-{
-  BUG1 bug1;
-  bug1.myData = "0123456789";
-  char* s = bug1 + 1;
-}