From: Bruce Korb Date: Sat, 26 May 2001 17:58:57 +0000 (+0000) Subject: Add fix test result for strict_ansi_not_ctd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cf6b5a3e759d3ab1e31492324a8531e8684334c;p=gcc.git Add fix test result for strict_ansi_not_ctd From-SVN: r42638 --- 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 */