1 2 3 4 5 6 7 8 9 10 11 12 13 14
// { dg-do run { xfail alpha*-dec-osf* i?86-pc-cygwin } } // Test that attributes weak and alias coexist. // { dg-require-weak "" } // { dg-require-alias "" } extern "C" { void _f () { } void f () __attribute__((weak, alias ("_f"))); } int main () { f (); }