URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [attrib2.C] - Rev 12
Compare with Previous | Blame | View Log
// Test that an early attribute doesn't confuse uses of a class.
// { dg-do compile }
struct __attribute__ ((packed)) A
{
void f () const;
};
void
A::f () const
{
}