summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Linux/asan_default_suppressions.cc
blob: 5ff59c1dfe7f520253f6059c67515f05187ba536 (plain)
1
2
3
4
5
6
7
// Test that we use the suppressions from __asan_default_suppressions.
// RUN: %clangxx_asan %s -o %t && not %run %t 2>&1 | FileCheck %s
extern "C" {
  const char *__asan_default_suppressions() { return "FooBar"; }
}
// CHECK: AddressSanitizer: failed to parse suppressions
int main() {}