diff options
Diffstat (limited to 'src/msan_test.cpp')
-rw-r--r-- | src/msan_test.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/msan_test.cpp b/src/msan_test.cpp new file mode 100644 index 0000000000..047d3cfa4a --- /dev/null +++ b/src/msan_test.cpp @@ -0,0 +1,7 @@ +#include "gtest/gtest.h" +#include <string> + +TEST(MemorySanitizer, TestIsWorking) { + std::string foo("foo"); + EXPECT_STREQ("foo", foo.c_str()); +} |