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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20081118_0.C] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
/* { dg-lto-do link } */
2
/* { dg-lto-options {{-fPIC -fwhopr -r -nostdlib}} } */
3
 
4
/* We used to ICE because of dangling pointers.  */
5
 
6
class object
7
{
8
public:
9
  virtual ~object() {}
10
};
11
 
12
class foo : public object
13
{
14
  virtual int method(void);
15
};
16
 
17
int
18
foo::method(void)
19
{
20
}

powered by: WebSVN 2.1.0

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