From: Alexandre Oliva Date: Sat, 31 Oct 1998 00:29:38 +0000 (+0000) Subject: * g++.old-deja/g++.eh/sjlj1.C: test checked sjlj-exception X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57d75d5fe97aff71f9a7afa15d6fb52b60bb4e63;p=gcc.git * g++.old-deja/g++.eh/sjlj1.C: test checked sjlj-exception From-SVN: r23465 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e393c69daa0..ac9fd77ef3b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 1998-10-31 Alexandre Oliva + * 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 diff --git a/gcc/testsuite/g++.old-deja/g++.eh/sjlj1.C b/gcc/testsuite/g++.old-deja/g++.eh/sjlj1.C new file mode 100644 index 00000000000..bf612e22091 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.eh/sjlj1.C @@ -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(); +}