diff options
Diffstat (limited to 'test/lsan/TestCases/default_options.cc')
| -rw-r--r-- | test/lsan/TestCases/default_options.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/lsan/TestCases/default_options.cc b/test/lsan/TestCases/default_options.cc new file mode 100644 index 000000000000..b5361c0cf7a1 --- /dev/null +++ b/test/lsan/TestCases/default_options.cc @@ -0,0 +1,11 @@ +// RUN: %clangxx_lsan -O2 %s -o %t && %run %t 2>&1 | FileCheck %s + +extern "C" +const char *__lsan_default_options() { + // CHECK: Available flags for {{Leak|Address}}Sanitizer: + return "verbosity=1 help=1"; +} + +int main() { + return 0; +} |
