aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.benjamin/16077.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.benjamin/16077.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.benjamin/16077.C28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/16077.C b/gcc/testsuite/g++.old-deja/g++.benjamin/16077.C
deleted file mode 100644
index f38154ec507..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.benjamin/16077.C
+++ /dev/null
@@ -1,28 +0,0 @@
-// 981203 bkoz
-// g++/16077
-// Build don't link:
-
-class nicaragua;
-struct colombia {
- colombia();
- colombia(const colombia &);
- colombia(const nicaragua &);
- colombia &operator= (const colombia&);
-};
-
-struct nicaragua {
-public:
- nicaragua();
- nicaragua(const nicaragua&);
- operator colombia();
-};
-
-void peace(const colombia&); // WARNING - // WARNING -
-
-void foo(nicaragua& b) {
- peace(b); // WARNING - // WARNING -
-}
-
-
-
-