1 // Test that the nothrow optimization works properly.
3 // { dg-options "-O -fdump-tree-optimized" }
5 extern void blah() throw();
23 // The catch block should be optimized away.
24 // { dg-final { scan-tree-dump-times "-42" 0 "optimized" } }
25 // { dg-final { cleanup-tree-dump "optimized" } }