Debian Codegraph @

gcc/testsuite/g++.dg/lto/20081119_1.C

raw
1 class foo {
2 public:
3 foo () {}
4 virtual ~foo() {}
5 virtual void m() {}
6 };
7
8 template<typename t>
9 class bar : public foo {
10 public:
11 bar () {}
12 };
13
14 void
15 f2 (bar<int> *p)
16 {
17 p->m();
18 }