diff options
author | Bruce Korb <korbb@gcc.gnu.org> | 2001-05-26 17:58:57 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2001-05-26 17:58:57 +0000 |
commit | 1cf6b5a3e759d3ab1e31492324a8531e8684334c (patch) | |
tree | ed99558033f65b565fa92d65a7cc572eb964383a | |
parent | ba8e7caf5f2022cb7e15e9280bb547ba513fe993 (diff) | |
download | gcc-1cf6b5a3e759d3ab1e31492324a8531e8684334c.zip gcc-1cf6b5a3e759d3ab1e31492324a8531e8684334c.tar.gz gcc-1cf6b5a3e759d3ab1e31492324a8531e8684334c.tar.bz2 |
Add fix test result for strict_ansi_not_ctd
From-SVN: r42638
-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 93722c9..5b4657a 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 */ |