Download build/_deps/catch2-src/projects/ExtraTests/X12-CustomDebugBreakMacro.cpp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/projects/ExtraTests/X12-CustomDebugBreakMacro.cpp
- Command line
-
hf download hf://camenduru/thrust/build/_deps/catch2-src/projects/ExtraTests/X12-CustomDebugBreakMacro.cpp
-
curl -L -o X12-CustomDebugBreakMacro.cpp https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/projects/ExtraTests/X12-CustomDebugBreakMacro.cpp
422 Bytes
| // X12-CustomDebugBreakMacro.cpp | |
| // Test that user-defined `CATCH_BREAK_INTO_DEBUGGER` is respected and used. | |
| void custom_debug_break() { | |
| std::cerr << "Pretty please, break into debugger\n"; | |
| } | |
| TEST_CASE("Failing test that breaks into debugger", "[macros]") { | |
| REQUIRE(1 == 2); | |
| } | |