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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [eh/] [table.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile { target *-*-darwin* } }
2
// { dg-final { scan-assembler "GCC_except_table0" } }
3
void needed();
4
void unneeded();
5
 
6
class Bar
7
{
8
public:
9
  Bar() {}
10
  virtual ~Bar() {}
11
 
12
  void unneeded();
13
};
14
 
15
void needed()
16
{
17
        Bar b;
18
}
19
 
20
//#if 0
21
void unneeded()
22
{
23
        Bar b;
24
        b.unneeded();
25
}
26
//#endif
27
 
28
int main()
29
{
30
        needed();
31
 
32
        return 0;
33
}

powered by: WebSVN 2.1.0

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