1 /* { dg-do compile } */
2 /* { dg-require-weak "" } */
3 /* { dg-require-alias "" } */
4 /* { dg-options "-fno-common" } */
6 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?f1" } } */
7 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?f2" } } */
8 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?f3" } } */
9 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?f4" } } */
16 void f1() __attribute__((weak
, alias("notf1")));
17 void f2() __attribute__((alias("notf2"), weak
));