diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-06-06 21:34:41 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-06-06 21:34:41 +0000 |
commit | b7df461601ff392dff0903b14d2032b78cd461e6 (patch) | |
tree | da77dde4ab43f7d855f62261a74f21f174d6290a /gcc/testsuite/gcc.dg/weak/weak-7.c | |
parent | 78cabff8bd87840ecc941ae40f19848b3082783e (diff) | |
download | gcc-b7df461601ff392dff0903b14d2032b78cd461e6.zip gcc-b7df461601ff392dff0903b14d2032b78cd461e6.tar.gz gcc-b7df461601ff392dff0903b14d2032b78cd461e6.tar.bz2 |
weak.exp: Simplify.
* gcc.dg/weak/weak.exp: Simplify.
* gcc.dg/weak/typeof-2.c: Use dg-require-weak.
* gcc.dg/weak/weak-1.c: Likewise.
* gcc.dg/weak/weak-2.c: Likewise.
* gcc.dg/weak/weak-3.c: Likewise.
* gcc.dg/weak/weak-4.c: Likewise.
* gcc.dg/weak/weak-5.c: Likewise.
* gcc.dg/weak/weak-6.c: Likewise.
* gcc.dg/weak/weak-7.c: Likewise.
* gcc.dg/weak/weak-8.c: Likewise.
* gcc.dg/weak/weak-9.c: Likewise.
From-SVN: r67571
Diffstat (limited to 'gcc/testsuite/gcc.dg/weak/weak-7.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/weak/weak-7.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/weak/weak-7.c b/gcc/testsuite/gcc.dg/weak/weak-7.c index 64d6155..bf2bbb9 100644 --- a/gcc/testsuite/gcc.dg/weak/weak-7.c +++ b/gcc/testsuite/gcc.dg/weak/weak-7.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-weak "" } */ extern void * foo (void); void * foo (void) { return (void *)foo; } /* { dg-error "precede" } */ |