Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.old-deja/g++.mike/eh25.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
20 std::set_terminate (my_terminate); | 20 std::set_terminate (my_terminate); |
21 throw 1; // This throws from EH dtor, should call my_terminate | 21 throw 1; // This throws from EH dtor, should call my_terminate |
22 } | 22 } |
23 }; | 23 }; |
24 | 24 |
25 int | |
25 main() { | 26 main() { |
26 try { | 27 try { |
27 try { | 28 try { |
28 throw 1; | 29 throw 1; |
29 } catch (int i) { | 30 } catch (int i) { |