diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-26 17:58:57 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-26 17:58:57 +0000 |
commit | 859caca17ec61053e490a11104422bb0ad14ace1 (patch) | |
tree | ed99558033f65b565fa92d65a7cc572eb964383a /gcc/fixinc | |
parent | 1fb1becd610bae7f85955d68b2b0dad5620f55d0 (diff) | |
download | gcc-859caca17ec61053e490a11104422bb0ad14ace1.tar.gz |
Add fix test result for strict_ansi_not_ctd
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42638 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/tests/base/math.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/fixinc/tests/base/math.h b/gcc/fixinc/tests/base/math.h index 93722c97350..5b4657a824b 100644 --- a/gcc/fixinc/tests/base/math.h +++ b/gcc/fixinc/tests/base/math.h @@ -99,6 +99,13 @@ extern int class(); #endif /* RS6000_DOUBLE_CHECK */ +#if defined( STRICT_ANSI_NOT_CTD_CHECK ) +#if 1|| !defined(__STRICT_ANSI__) /* not std C */ +int foo; +#endif +#endif /* STRICT_ANSI_NOT_CTD_CHECK */ + + #if defined( SUNOS_MATHERR_DECL_CHECK ) extern int matherr(); #endif /* SUNOS_MATHERR_DECL_CHECK */ |