Change external macro test
This commit is contained in:
parent
101b7ccc18
commit
69c6ca17f5
1 changed files with 3 additions and 7 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue