1 2 3 4 5 6 7 8 9 10 11
// Test that attributes weak and alias coexist. extern "C" { void f () __attribute__((weak, alias ("_f"))); void _f () { } } int main () { f (); }