/* { dg-do preprocess } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
-/* This test checks that the C99 macros are defined;
+/* This test checks that the C99 macros (but not the C11 ones) are defined;
it does not check the correctness of their values. */
#include <float.h>
#endif
#ifndef FLT_EVAL_METHOD
-#error "FLT_EVAL_METHOD undefined" /* { dg-bogus "not c99 compliant" "FLT_EVAL_METHOD" { xfail *-*-irix* } } */
+#error "FLT_EVAL_METHOD undefined"
#endif
#ifndef DECIMAL_DIG
-#error "DECIMAL_DIG undefined" /* { dg-bogus "not c99 compliant" "DECIMAL_DIG" { xfail *-*-irix* } } */
+#error "DECIMAL_DIG undefined"
+#endif
+
+#ifdef FLT_DECIMAL_DIG
+#error "FLT_DECIMAL_DIG defined"
+#endif
+
+#ifdef DBL_DECIMAL_DIG
+#error "DBL_DECIMAL_DIG defined"
+#endif
+
+#ifdef LDBL_DECIMAL_DIG
+#error "LDBL_DECIMAL_DIG defined"
+#endif
+
+#ifdef FLT_HAS_SUBNORM
+#error "FLT_HAS_SUBNORM defined"
+#endif
+
+#ifdef DBL_HAS_SUBNORM
+#error "DBL_HAS_SUBNORM defined"
+#endif
+
+#ifdef LDBL_HAS_SUBNORM
+#error "LDBL_HAS_SUBNORM defined"
+#endif
+
+#ifdef FLT_TRUE_MIN
+#error "FLT_TRUE_MIN defined"
+#endif
+
+#ifdef DBL_TRUE_MIN
+#error "DBL_TRUE_MIN defined"
+#endif
+#ifdef LDBL_TRUE_MIN
+#error "LDBL_TRUE_MIN defined"
#endif