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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [other/] [cxa-atexit1.C] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
// { dg-options "-O2 -fuse-cxa-atexit" }
3
 
4
# 1 "cxa-atexit1.C"
5
struct A
6
{
7
  struct B
8
  {
9
    B ();
10
    ~B ();
11
  };
12
};
13
static A::B b;
14
# 1 "cxa-atexit1.h" 1
15
#pragma interface
16
template  struct C
17
{
18
  ~C (void);
19
};
20
struct D : public C
21
{
22
  D (void) : C () { }
23
};
24
# 55 "cxa-atexit1.C" 2
25
 
26
// { dg-final { scan-assembler-not ".gnu.linkonce.t.__tcf_" } }

powered by: WebSVN 2.1.0

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