xref: /llvm-project/compiler-rt/test/lsan/TestCases/default_options.cpp (revision ea7695dcca53ca7694e347224b68cbdefbc3cc5f)
1 // RUN: %clangxx_lsan -O2 %s -o %t && %run %t 2>&1 | FileCheck %s
2 
3 extern "C"
__lsan_default_options()4 const char *__lsan_default_options() {
5   // CHECK: Available flags for {{Leak|Address|HWAddress}}Sanitizer:
6   return "verbosity=1 help=1";
7 }
8 
main()9 int main() {
10   return 0;
11 }
12