ISO C++17 does not allow dynamic exception specifications
11 void test_1 (int flag) throw (io_error)
^~~~~
ISO C++17 does not allow dynamic exception specifications
19 void test_2 (int flag) throw (io_error) // { dg-warning "throwing exception of unexpected type 'mem_error' from 'test_2'" }
^~~~~
ISO C++17 does not allow dynamic exception specifications
29 void test_3 (int flag) throw (io_error) // { dg-bogus "throwing exception of unexpected type 'file_io_error' from 'test_3'" "PR analyzer/119697" { xfail *-*-* } }
^~~~~
ISO C++17 does not allow dynamic exception specifications
43 void test_4_outer (int flag) throw (io_error)
^~~~~
ISO C++17 does not allow dynamic exception specifications
57 void test_5_outer (int flag) throw (io_error) // { dg-warning "throwing exception of unexpected type 'mem_error' from 'test_5_outer'" }
^~~~~