Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.old-deja/g++.robertl/eb133a.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 // { dg-do assemble } |
2 // Gives ICE 109 | |
3 // From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> | |
4 // Reported against EGCS snaps 98/06/28. | |
5 | |
6 int main() | |
7 { | |
8 try { | |
9 } | |
10 catch (std::bad_alloc) { // { dg-error "" } parse error | |
11 return 1; | |
12 } | |
13 return 0; | |
14 } | |
15 | |
16 |