1// Test that we use the suppressions from __asan_default_suppressions.
2// RUN: %clangxx_asan %s -o %t && not %run %t 2>&1 | FileCheck %s
3extern "C" {
4 const char *__asan_default_suppressions() { return "FooBar"; }
5}
6// CHECK: AddressSanitizer: failed to parse suppressions
7int main() {}
8

source code of compiler-rt/test/asan/TestCases/Linux/asan_default_suppressions.cpp