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"(
#include <cmath>
#ifdef _GLIBCXX_RELEASE
#include <climits>
// this requires libstdc++
/// auto result=(__builtin_nanf(""));
auto result = NAN;
#endif
/// auto result=8;
auto result = CHAR_BIT;
)",
fast_preprocessing);