diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/weak/weak-9.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/weak/weak-9.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/weak/weak-9.c b/gcc/testsuite/gcc.dg/weak/weak-9.c index 95e8f809f38..abbd0201c46 100644 --- a/gcc/testsuite/gcc.dg/weak/weak-9.c +++ b/gcc/testsuite/gcc.dg/weak/weak-9.c @@ -7,10 +7,11 @@ /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?f2" } } */ /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?f3" } } */ /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?f4" } } */ -/* { dg-final { scan-assembler "notf1" } } */ -/* { dg-final { scan-assembler "notf2" } } */ -/* { dg-final { scan-assembler "notf3" } } */ -/* { dg-final { scan-assembler "notf4" } } */ + +void notf1() { } +void notf2() { } +void notf3() { } +void notf4() { } void f1() __attribute__((weak, alias("notf1"))); void f2() __attribute__((alias("notf2"), weak)); |