diff options
author | Paolo Carlini <pcarlini@suse.de> | 2007-05-06 11:51:23 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2007-05-06 11:51:23 +0000 |
commit | 025375348e10d44984dba0e68a2c04e7cbb6fb8c (patch) | |
tree | 8d129fcbdf1c736fe800feed0612945f86228462 /libstdc++-v3/testsuite/17_intro | |
parent | 290358f770d21d9204ea621f839ee8fba606a275 (diff) | |
download | gcc-025375348e10d44984dba0e68a2c04e7cbb6fb8c.zip gcc-025375348e10d44984dba0e68a2c04e7cbb6fb8c.tar.gz gcc-025375348e10d44984dba0e68a2c04e7cbb6fb8c.tar.bz2 |
re PR libstdc++/31836 (FAIL: 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test)
2007-05-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31836
* testsuite/17_intro/headers/c++200x/all.cc: Protect inclusion
of C99 headers.
* testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
Likewise.
From-SVN: r124472
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro')
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc | 12 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc | 24 |
2 files changed, 36 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc index 6e3d111..76566d0 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc @@ -49,12 +49,18 @@ // "C" compatibility headers #include <assert.h> +#ifdef _GLIBCXX_HAVE_COMPLEX_H #include <complex.h> +#endif #include <ctype.h> #include <errno.h> +#ifdef _GLIBCXX_HAVE_FENV_H #include <fenv.h> +#endif #include <float.h> +#ifdef _GLIBCXX_HAVE_INTTYPES_H #include <inttypes.h> +#endif #include <iso646.h> #include <limits.h> #include <locale.h> @@ -62,13 +68,19 @@ #include <setjmp.h> #include <signal.h> #include <stdarg.h> +#ifdef _GLIBCXX_HAVE_STDBOOL_H #include <stdbool.h> +#endif #include <stddef.h> +#ifdef _GLIBCXX_HAVE_STDINT_H #include <stdint.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> +#ifdef _GLIBCXX_HAVE_TGMATH_H #include <tgmath.h> +#endif #include <time.h> #include <wchar.h> #include <wctype.h> diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc index f87ff66..d788be2 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc @@ -49,12 +49,18 @@ // "C" compatibility headers #include <assert.h> +#ifdef _GLIBCXX_HAVE_COMPLEX_H #include <complex.h> +#endif #include <ctype.h> #include <errno.h> +#ifdef _GLIBCXX_HAVE_FENV_H #include <fenv.h> +#endif #include <float.h> +#ifdef _GLIBCXX_HAVE_INTTYPES_H #include <inttypes.h> +#endif #include <iso646.h> #include <limits.h> #include <locale.h> @@ -62,13 +68,19 @@ #include <setjmp.h> #include <signal.h> #include <stdarg.h> +#ifdef _GLIBCXX_HAVE_STDBOOL_H #include <stdbool.h> +#endif #include <stddef.h> +#ifdef _GLIBCXX_HAVE_STDINT_H #include <stdint.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> +#ifdef _GLIBCXX_HAVE_TGMATH_H #include <tgmath.h> +#endif #include <time.h> #include <wchar.h> #include <wctype.h> @@ -143,12 +155,18 @@ // "C" compatibility headers #include <assert.h> +#ifdef _GLIBCXX_HAVE_COMPLEX_H #include <complex.h> +#endif #include <ctype.h> #include <errno.h> +#ifdef _GLIBCXX_HAVE_FENV_H #include <fenv.h> +#endif #include <float.h> +#ifdef _GLIBCXX_HAVE_INTTYPES_H #include <inttypes.h> +#endif #include <iso646.h> #include <limits.h> #include <locale.h> @@ -156,13 +174,19 @@ #include <setjmp.h> #include <signal.h> #include <stdarg.h> +#ifdef _GLIBCXX_HAVE_STDBOOL_H #include <stdbool.h> +#endif #include <stddef.h> +#ifdef _GLIBCXX_HAVE_STDINT_H #include <stdint.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> +#ifdef _GLIBCXX_HAVE_TGMATH_H #include <tgmath.h> +#endif #include <time.h> #include <wchar.h> #include <wctype.h> |