Remove test AST/const-fpfeatures-diag.c
authorSerge Pavlov <sepavloff@gmail.com>
Wed, 30 Sep 2020 04:07:55 +0000 (11:07 +0700)
committerSerge Pavlov <sepavloff@gmail.com>
Wed, 30 Sep 2020 04:07:55 +0000 (11:07 +0700)
This test is going to be removed because using dynamic rounding mode
in initializers is changing. It also causes build failures in some
cases, so remove it now.

clang/test/AST/const-fpfeatures-diag.c [deleted file]

diff --git a/clang/test/AST/const-fpfeatures-diag.c b/clang/test/AST/const-fpfeatures-diag.c
deleted file mode 100644 (file)
index d0408da..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// RUN: %clang_cc1 -verify -ffp-exception-behavior=strict -Wno-unknown-pragmas %s
-
-// REQUIRES: x86-registered-target
-
-#pragma STDC FENV_ROUND FE_DYNAMIC
-
-// nextUp(1.F) == 0x1.000002p0F
-
-float F1 = 0x1.000000p0F + 0x0.000002p0F;
-float F2 = 0x1.000000p0F + 0x0.000001p0F; // expected-error{{initializer element is not a compile-time constant}}