summaryrefslogtreecommitdiff
path: root/test/lsan/TestCases/default_options.cc
blob: b5361c0cf7a1aae4df52fdb46db1b9660fc6f3b0 (plain)
1
2
3
4
5
6
7
8
9
10
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;
}