* g++.old-deja/g++.eh/sjlj1.C: test checked sjlj-exception

From-SVN: r23465
This commit is contained in:
Alexandre Oliva 1998-10-31 00:29:38 +00:00 committed by Alexandre Oliva
parent f76f703ffd
commit 57d75d5fe9
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,7 @@
1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.eh/sjlj1.C: test checked sjlj-exception
* g++.old-deja/g++.pt/spec24.C: ensure that template
specializations start with template headers

View File

@ -0,0 +1,11 @@
// Special g++ Options: -fsjlj-exceptions
// execution test - XFAIL *-*-*
void foo() throw(int) { throw 1; }
int main() {
try { foo(); }
catch(int) { return 0; }
abort();
}