diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-09 17:30:09 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-09 17:30:09 +0000 |
commit | 7e603d5af647b868b2272eb6d4107ea17e8bf59f (patch) | |
tree | f117a24c6a1e034f706565619bd28c8f0d405bf1 /gcc/testsuite/gcc.dg/special | |
parent | f4ddfd0ea52353e9566ebaf283410ea86b36dd68 (diff) | |
download | gcc-7e603d5af647b868b2272eb6d4107ea17e8bf59f.tar.gz |
* gcc.dg/special/20000419-2.c: Fix dg-require-alias syntax.
* gcc.dg/special/weak-2.c: Add dg-require-weak.
* gcc.dg/weak/weak-3.c: Reverse order of dg-do and
dg-require-weak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67669 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/special')
-rw-r--r-- | gcc/testsuite/gcc.dg/special/20000419-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/special/weak-2.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/special/20000419-2.c b/gcc/testsuite/gcc.dg/special/20000419-2.c index 9b468115a94..4a228eb1ae9 100644 --- a/gcc/testsuite/gcc.dg/special/20000419-2.c +++ b/gcc/testsuite/gcc.dg/special/20000419-2.c @@ -1,7 +1,7 @@ /* A static function with a global alias should not get 'defined but not used' warnings. Exposed by Linux kernel. */ /* { dg-do compile } */ -/* { dg-require-alias } */ +/* { dg-require-alias "" } */ /* { dg-options "-Wall" } */ extern void do_something (void); diff --git a/gcc/testsuite/gcc.dg/special/weak-2.c b/gcc/testsuite/gcc.dg/special/weak-2.c index bc481430eb5..b93a8ef9a52 100644 --- a/gcc/testsuite/gcc.dg/special/weak-2.c +++ b/gcc/testsuite/gcc.dg/special/weak-2.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-require-weak "" } */ /* { dg-additional-sources "weak-2a.c weak-2b.c" } */ #include <stdlib.h> |