LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.misc-tests / gcov-15.c
blob04273fcec4257f9f004a77010a651a2343d67aa2
1 /* Test gcov multiple paths to file. */
3 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
4 /* { dg-do run { target native } } */
6 #if !RECURSIVE
7 #define RECURSIVE 1
8 #include "./gcov-15.c"
9 #undef RECURSIVE
10 #endif
12 static void __attribute__ ((noinline)) Recursive (void);
15 #if RECURSIVE
16 static void __attribute__ ((noinline))
17 Recursive ()
19 return; /* count(1) */
22 #else
23 int main ()
25 Recursive (); /* count(1) */
26 return 0;
28 #endif
30 /* { dg-final { run-gcov { -a gcov-15.c } } } */