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"(
|
||||
#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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue