diff options
| author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-07 10:44:59 +0000 |
|---|---|---|
| committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-07 10:44:59 +0000 |
| commit | 173550d4c70e5af356b669f66161bc8a6c08f1ca (patch) | |
| tree | 09e466d179dd9978c2d5c6df6799a5862c668fec /gcc/testsuite/gcc.dg/format/c99-scanf-2.c | |
| parent | 89e8d34f7eddb60e298cce0fd0fb870e584c606d (diff) | |
| download | ppe42-gcc-173550d4c70e5af356b669f66161bc8a6c08f1ca.tar.gz ppe42-gcc-173550d4c70e5af356b669f66161bc8a6c08f1ca.zip | |
* gcc.dg/format/format.h: New file.
* gcc.dg/format/array-1.c, gcc.dg/format/attr-1.c,
gcc.dg/format/branch-1.c, gcc.dg/format/c90-printf-1.c,
gcc.dg/format/c90-printf-2.c, gcc.dg/format/c90-printf-3.c,
gcc.dg/format/c90-scanf-1.c, gcc.dg/format/c90-scanf-2.c,
gcc.dg/format/c90-scanf-3.c, gcc.dg/format/c90-scanf-4.c,
gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c,
gcc.dg/format/c94-printf-1.c, gcc.dg/format/c94-scanf-1.c,
gcc.dg/format/c99-printf-1.c, gcc.dg/format/c99-printf-2.c,
gcc.dg/format/c99-printf-3.c, gcc.dg/format/c99-scanf-1.c,
gcc.dg/format/c99-scanf-2.c, gcc.dg/format/c99-scanf-3.c,
gcc.dg/format/c99-strftime-1.c, gcc.dg/format/c99-strftime-2.c,
gcc.dg/format/diag-1.c, gcc.dg/format/errmk-1.c,
gcc.dg/format/ext-1.c, gcc.dg/format/ext-2.c,
gcc.dg/format/ext-3.c, gcc.dg/format/ext-4.c,
gcc.dg/format/ext-5.c, gcc.dg/format/miss-1.c,
gcc.dg/format/miss-2.c, gcc.dg/format/no-exargs-1.c,
gcc.dg/format/no-y2k-1.c, gcc.dg/format/nonlit-1.c,
gcc.dg/format/nonlit-2.c, gcc.dg/format/nonlit-3.c,
gcc.dg/format/sec-1.c, gcc.dg/format/strfmon-1.c,
gcc.dg/format/va-1.c, gcc.dg/format/warnll-1.c,
gcc.dg/format/xopen-1.c, gcc.dg/format/z-1.c: Include "format.h"
instead of declaring standard types, macros and functions in each
test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38767 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/format/c99-scanf-2.c')
| -rw-r--r-- | gcc/testsuite/gcc.dg/format/c99-scanf-2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/format/c99-scanf-2.c b/gcc/testsuite/gcc.dg/format/c99-scanf-2.c index a740a601c0e..eedf3e57c10 100644 --- a/gcc/testsuite/gcc.dg/format/c99-scanf-2.c +++ b/gcc/testsuite/gcc.dg/format/c99-scanf-2.c @@ -5,9 +5,7 @@ /* { dg-do compile } */ /* { dg-options "-std=iso9899:1999 -pedantic -Wformat" } */ -typedef __WCHAR_TYPE__ wchar_t; - -extern int scanf (const char *, ...); +#include "format.h" void foo (int *ip, long long int *llp, wchar_t *ls) |

