]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/opeq3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / opeq3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/opeq3.C b/gcc/testsuite/g++.old-deja/g++.jason/opeq3.C
deleted file mode 100644 (file)
index e290f7a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Bug: g++ generates code for assignment in invalid situations.
-// Build don't link:
-
-class X {
-  int& a;
-public:
-  X(int& i): a(i) { };
-};
-
-void foo ()
-{
-  int one=1, two=2;
-  X a(one), b(two);
-  a = b;                       // ERROR - no assignment semantics defined
-};