aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/typeck1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/typeck1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/typeck1.C19
1 files changed, 1 insertions, 18 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/typeck1.C b/gcc/testsuite/g++.old-deja/g++.law/typeck1.C
index 2fabfe9db83..3c117d16672 100644
--- a/gcc/testsuite/g++.old-deja/g++.law/typeck1.C
+++ b/gcc/testsuite/g++.old-deja/g++.law/typeck1.C
@@ -1,18 +1 @@
-// Build don't link:
-// GROUPS passed typeck
-// typeck file
-// From: vern@daffy.ee.lbl.gov (Vern Paxson)
-// Date: 24 Sep 1992 23:11:22 GMT
-// Subject: 2.2.2 type-checking error (?) when comparing pointers
-// Message-ID: <26475@dog.ee.lbl.gov>
-
-
- class a { };
- class foo : a { };
- class bar : a { };
-
- test( const foo* f, const bar* b )
- {
- return f == b;// ERROR -
- }
-
+ int test( const foo* f, const bar* b )