8sa1-gcc/gcc/testsuite/g++.old-deja/g++.ext/attrib5.C
Jason Merrill a32c71a538 new
From-SVN: r26971
1999-05-17 06:16:04 -04:00

12 lines
155 B
C

// Test that attributes weak and alias coexist.
extern "C" {
void f () __attribute__((weak, alias ("_f")));
void _f () { }
}
int main ()
{
f ();
}