Debian Codegraph @

gcc/testsuite/g++.dg/tree-ssa/nothrow-1.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-cfg" } */
3 /* { dg-add-options bind_pic_locally } */
4
5 double a;
6 void t()
7 {
8 a=1;
9 }
10 void t1(void);
11 void abort(void);
12
13 void q()
14 {
15 try {
16 t();
17 }
18 catch (...) {abort();}
19 }
20 /* We shouldnotice nothrow attribute. */
21 /* { dg-final { scan-tree-dump-times "exception" 0 "cfg"} } */