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/] [inline16.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-O1" }
// Origin: Jakub Jelinek <jakub@redhat.com>
struct foo {
bool x;
inline void a (unsigned char y);
inline void b (void);
virtual ~foo ();
};
foo::~foo ()
{
}
void foo::a (unsigned char y)
{
x = ((y & 2) != 0);
}
void foo::b (void)
{
a(0x07);
}