URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [eh2.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-O2" }
// Origin: Jakub Jelinek <jakub@redhat.com>
class a {
public:
double b;
int c;
~a() { }
};
int bar(a x);
a foo(double x);
int baz(double x, int y)
{
return bar(foo(x));
}