repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In gcc/objc/: 2010-11-13 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20081119_0.C
blob
c77a4309811c12562ab44aa14aa491865206c893
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
}