From 69c6ca17f52a716515f41dcbe38e4c7e9eb5dc01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20M=C3=BCller?= Date: Thu, 13 Dec 2018 17:08:14 +0100 Subject: [PATCH] Change external macro test --- test/preprocessor.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/test/preprocessor.cpp b/test/preprocessor.cpp index c59ec93..40dab7e 100644 --- a/test/preprocessor.cpp +++ b/test/preprocessor.cpp @@ -57,14 +57,10 @@ TEST_CASE("preprocessing use external macro") } auto file = parse({}, "preprocessing_external_macro.cpp", R"( -#include -#ifdef _GLIBCXX_RELEASE +#include -// this requires libstdc++ -/// auto result=(__builtin_nanf("")); -auto result = NAN; - -#endif +/// auto result=8; +auto result = CHAR_BIT; )", fast_preprocessing);