* g++.old-deja/g++.eh/sjlj1.C: test checked sjlj-exception
From-SVN: r23465
This commit is contained in:
parent
f76f703ffd
commit
57d75d5fe9
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
Loading…
Reference in New Issue