diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-11 21:49:26 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-11 21:49:26 +0000 |
commit | c013f26c67d959e1cd35112f5ee77721dbc33f7f (patch) | |
tree | cbf72d478a6c14b0263f69b5722d76d8340713eb /gcc/testsuite/g++.old-deja | |
parent | deb88e7d3a914d8932486b31e13b78d538c2dd48 (diff) | |
download | gcc-c013f26c67d959e1cd35112f5ee77721dbc33f7f.tar.gz |
* toplev.c (rest_of_compilation): Don't compile if we've had errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50604 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.old-deja')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/crash52.C | 3 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/report.C | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash52.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash52.C index e8c51e8be2f..b29271b9dd9 100644 --- a/gcc/testsuite/g++.old-deja/g++.brendan/crash52.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/crash52.C @@ -10,5 +10,4 @@ public: A &f(A &a) {// ERROR - new decl.* std::cout << "Blah\n"; -} // ERROR - non-void function - +} diff --git a/gcc/testsuite/g++.old-deja/g++.jason/report.C b/gcc/testsuite/g++.old-deja/g++.jason/report.C index 14bc9d84402..bbc1adaf942 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/report.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/report.C @@ -55,7 +55,7 @@ bar2 baz (X::Y y) bar2 wa [5]; wa[0] = baz(f); undef2 (1); // ERROR - implicit declaration -} // ERROR - non-void +} int ninny () { @@ -70,4 +70,4 @@ int ninny () int darg (char X::*p) { undef3 (1); // ERROR - implicit declaration -} // ERROR - non-void +} |