summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/constant-expression-cxx11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/constant-expression-cxx11.cpp')
-rw-r--r--clang/test/SemaCXX/constant-expression-cxx11.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/clang/test/SemaCXX/constant-expression-cxx11.cpp b/clang/test/SemaCXX/constant-expression-cxx11.cpp
index 9ff50d30ddd..0fc23285b33 100644
--- a/clang/test/SemaCXX/constant-expression-cxx11.cpp
+++ b/clang/test/SemaCXX/constant-expression-cxx11.cpp
@@ -1,12 +1,6 @@
// RUN: %clang_cc1 -triple i686-linux -fsyntax-only -verify -std=c++11 %s
-// This version of static_assert just requires a foldable value as the
-// expression, not an ICE.
-// FIXME: Once we implement the C++11 ICE rules, most uses of this here should
-// be converted to static_assert.
-#define static_assert_fold(expr, str) \
- static_assert(__builtin_constant_p(expr), "not an integral constant expression"); \
- static_assert(__builtin_constant_p(expr) ? expr : true, str)
+#define static_assert_fold static_assert
namespace StaticAssertFoldTest {
OpenPOWER on IntegriCloud