Commit db08384a by Eric Christopher Committed by Eric Christopher

table.C: New.

2006-01-18  Eric Christopher  <echristo@apple.com>

        * g++.dg/eh/table.C: New.

From-SVN: r109931
parent ed3fc221
2006-01-18 Eric Christopher <echristo@apple.com>
* g++.dg/eh/table.C: New.
2006-01-18 DJ Delorie <dj@redhat.com> 2006-01-18 DJ Delorie <dj@redhat.com>
* gcc.dg/Werror-1.c, gcc.dg/Werror-2.c, gcc.dg/Werror-3.c, * gcc.dg/Werror-1.c, gcc.dg/Werror-2.c, gcc.dg/Werror-3.c,
// { dg-do compile { target *-*-darwin* } }
// { dg-final { scan-assembler "GCC_except_table0" } }
void needed();
void unneeded();
class Bar
{
public:
Bar() {}
virtual ~Bar() {}
void unneeded();
};
void needed()
{
Bar b;
}
//#if 0
void unneeded()
{
Bar b;
b.unneeded();
}
//#endif
int main()
{
needed();
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment