8sa1-gcc/gcc/testsuite/g++.old-deja/g++.ext/attrib5.C

12 lines
155 B
C++
Raw Normal View History

1999-05-17 06:16:04 -04:00
// Test that attributes weak and alias coexist.
extern "C" {
void f () __attribute__((weak, alias ("_f")));
void _f () { }
}
int main ()
{
f ();
}