build/example/sanitizers/main.cpp
Damian Jarek 8d0f375704
Add sanitizer feature example
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-03-11 02:08:50 +01:00

10 lines
139 B
C++

#include <iostream>
// tag::source[]
int main()
{
char* c = nullptr;
std::cout << "Hello sanitizers\n " << *c;
}
// end::source[]