blob: c565b06ef4961073a94999d6290c30c2d22f1bd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// PR gcov-profile/55650
// { dg-do link }
// { dg-require-profiling "-fprofile-generate" }
// { dg-options "-O2 -fprofile-generate" }
// { dg-additional-sources "pr55650.cc" }
struct A
{
virtual void foo ();
};
struct B : public A
{
B ();
void foo () {}
};
inline A *
bar ()
{
return new B;
}
|