| 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 |
| 3 | extern "C"{ |
| 4 | const char *__asan_default_suppressions() { return "FooBar"; } |
| 5 | } |
| 6 | // CHECK: AddressSanitizer: failed to parse suppressions |
| 7 | int main() {} |
| 8 |
