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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [abi/] [key2.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// On Darwin, key methods that are inline result in comdat style things.  */
2
// PR darwin/25908
3
 
4
// { dg-do compile { target *-*-darwin* } }
5
// { dg-final { scan-assembler ".globl __ZTV1f\\n       .weak_definition __ZTV1f\\n     .section __DATA,__const_coal,coalesced" } }
6
// { dg-final { scan-assembler ".globl __ZTS1f\\n       .weak_definition __ZTS1f\\n     .section __TEXT,__const_coal,coalesced" } }
7
// { dg-final { scan-assembler ".globl __ZTI1f\\n       .weak_definition __ZTI1f\\n     .section __DATA,__const_coal,coalesced" } }
8
 
9
class f
10
{
11
  virtual void g();
12
  virtual void h();
13
} c;
14
inline void f::g() {}
15
int sub(void)
16
{}

powered by: WebSVN 2.1.0

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