aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/union1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/union1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/union1.C16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/union1.C b/gcc/testsuite/g++.old-deja/g++.other/union1.C
deleted file mode 100644
index 6573b4d055f..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/union1.C
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-
-class A
-{
- private:
- int myInt;
-
- public:
- A& operator = (int right) {myInt = right; return *this;}
-};
-
-union B
-{
- char f1;
- A f2; // gets bogus error - non-copy assignment op is OK
-};