blob: 9f2b29b4da501fe5cd35bd67145b6491a6cb447e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* PR 51113 */
/* { dg-options "-fprofile-arcs -ftest-coverage -fpic -fno-implicit-constexpr" } */
/* { dg-do run { target native } } */
/* { dg-additional-sources "gcovpart-12b.C" } */
struct Foo {
Foo ()
{} /* count(1) */
virtual void Func () /* count(#####) */
{} /* count(#####) */
};
int main ()
{
Foo b;
return 0; /* count (1) */
}
/* { dg-final { run-gcov gcov-12.C } } */
/* { dg-final { run-gcov gcovpart-12b.C { xfail *-*-* } } } */
|