Download build/_deps/catch2-src/projects/ExtraTests/X11-DisableStringification.cpp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/projects/ExtraTests/X11-DisableStringification.cpp
- Command line
-
hf download hf://camenduru/thrust/build/_deps/catch2-src/projects/ExtraTests/X11-DisableStringification.cpp
-
curl -L -o X11-DisableStringification.cpp https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/projects/ExtraTests/X11-DisableStringification.cpp
469 Bytes
| // X11-DisableStringification.cpp | |
| // Test that stringification of original expression can be disabled | |
| // this is a workaround for VS 2017 issue with Raw String literal | |
| // and preprocessor token pasting. In other words, hopefully this test | |
| // will be deleted soon :-) | |
| struct Hidden {}; | |
| bool operator==(Hidden, Hidden) { return true; } | |
| TEST_CASE("DisableStringification") { | |
| REQUIRE( Hidden{} == Hidden{} ); | |
| } | |