OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/51186
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20081119_0.C
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
f1 (bar<int> *p)
16
{
17
p->m();
18
}
19
20
int
21
main ()
22
{
23
return 0;
24
}