diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-28 09:26:28 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-28 09:26:28 +0000 |
commit | 9fd68c082693e2db323eee226f8f041a1a596cc9 (patch) | |
tree | 60bd2c4c9dd96be75e26bf7a55c401eb632b6850 /gcc/testsuite/g++.old-deja/g++.law/typeck1.C | |
parent | 9f9d16c921fcede880ddba43b970b29f0f888d8f (diff) |
Merge from mainlinebefore_gc_merge_990902egcs_gc_branch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/egcs_gc_branch@26036 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/typeck1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.law/typeck1.C | 19 |
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 ) |