1 /* Check that Exception handler specification is not 2 mapped to the curly braces below the function 3 declaration. */ 4 5 /* { dg-options "-fprofile-arcs -ftest-coverage" } */ 6 /* { dg-do run { target native } } */ 7 8 struct foo 9 { throwfoo10 foo () throw (int) 11 { /* count (-) */ 12 throw (1); 13 } 14 }; 15 main()16int main () 17 { 18 try 19 { 20 foo f; 21 } 22 catch ( ...) 23 { 24 return 0; 25 } 26 } 27 28 /* { dg-final { run-gcov gcov-7.C } } */ 29