]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.law/operators18.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / operators18.C
diff --git a/gcc/testsuite/g++.old-deja/g++.law/operators18.C b/gcc/testsuite/g++.old-deja/g++.law/operators18.C
deleted file mode 100644 (file)
index 74ea159..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Build don't link: 
-// GROUPS passed operators
-// opr-ampr file
-// From: mecklen@oops.cs.utah.edu (Robert Mecklenburg)
-// Date:     Thu, 8 Oct 92 16:33:08 -0600
-// Subject:  Type conversion and overloading bugs in 2.2.2
-// Message-ID: <9210082233.AA28203@hellgate.utah.edu>
-
-        enum E { a, b, c };
-        struct Estr {
-            E value;
-            Estr()                              {}
-            Estr( int i ) : value( (E)i )       {}
-            operator E()                        { return value; }
-        };
-        extern Estr baz();
-        int bazz() { return baz() & 2; }