OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20081119_0.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
class foo {
2
 public:
3
 foo () {}
4
 virtual ~foo() {}
5
 virtual void m() {}
6
};
7
 
8
template
9
class bar : public foo {
10
 public:
11
 bar () {}
12
};
13
 
14
void
15
f1 (bar *p)
16
{
17
 p->m();
18
}
19
 
20
int
21
main ()
22
{
23
 return 0;
24
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.