blob: fcd16b00b1c40dc084a97eb52b6ea2bc6ca643e4 [file] [log] [blame]
// PR gcov-profile/64634
// { dg-options "-fprofile-arcs -ftest-coverage" }
// { dg-do run { target native } }
void catchEx () // count(1)
{
__builtin_exit (0); // count(1)
try
{}
catch (int)
{}
}
int main () // count(1)
{
try
{
throw 5; // count(1)
}
catch (...) // count(1)
{
catchEx (); // count(1)
}
}
// { dg-final { run-gcov gcov-15.C } }