diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/weak/weak-6.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/weak/weak-6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/weak/weak-6.c b/gcc/testsuite/gcc.dg/weak/weak-6.c index 8f88a675d31..531c581dc26 100644 --- a/gcc/testsuite/gcc.dg/weak/weak-6.c +++ b/gcc/testsuite/gcc.dg/weak/weak-6.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-weak "" } */ extern void * foo (void); void * foo (void) { return (void *)foo; } /* { dg-error "precede" } */ |