diff options
Diffstat (limited to '')
-rw-r--r-- | src/boost/tools/build/example/sanitizers/main.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/boost/tools/build/example/sanitizers/main.cpp b/src/boost/tools/build/example/sanitizers/main.cpp new file mode 100644 index 000000000..62e6f3b60 --- /dev/null +++ b/src/boost/tools/build/example/sanitizers/main.cpp @@ -0,0 +1,9 @@ +#include <iostream> + +// tag::source[] +int main() +{ + char* c = nullptr; + std::cout << "Hello sanitizers\n " << *c; +} +// end::source[] |