Change external macro test

This commit is contained in:
Jonathan Müller 2018-12-13 17:08:14 +01:00
commit 69c6ca17f5

View file

@ -57,14 +57,10 @@ TEST_CASE("preprocessing use external macro")
} }
auto file = parse({}, "preprocessing_external_macro.cpp", R"( auto file = parse({}, "preprocessing_external_macro.cpp", R"(
#include <cmath> #include <climits>
#ifdef _GLIBCXX_RELEASE
// this requires libstdc++ /// auto result=8;
/// auto result=(__builtin_nanf("")); auto result = CHAR_BIT;
auto result = NAN;
#endif
)", )",
fast_preprocessing); fast_preprocessing);