summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/operators16.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/operators16.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/operators16.C29
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/operators16.C b/gcc/testsuite/g++.old-deja/g++.law/operators16.C
deleted file mode 100644
index 3298e3090b8..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.law/operators16.C
+++ /dev/null
@@ -1,29 +0,0 @@
-// GROUPS passed operators
-// copy file
-// From: gfm@mencon.mencon.oz.au (Graham Menhennitt)
-// Date: Thu, 29 Apr 93 20:53:07 EST
-// Subject: 4 bugs in g++ 2.3.3
-// Message-ID: <9304291053.AA00090@mencon>
-
-#include <stdio.h>
-
-int pass = 0;
-struct A {
- A(void) {}
- A(const A& a) { ; }
- A& operator = (const A& a) { pass = 1; }
-};
-
-struct B {
- B(const A& aa) { B::a = aa; }
- A a;
-};
-
-int main(void)
-{
- B(A());
- if (pass)
- printf ("PASS\n");
- else
- printf ("FAIL\n");
-}