xref: /aosp_15_r20/external/compiler-rt/test/asan/TestCases/Linux/asan_default_suppressions.cc (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
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" {
__asan_default_suppressions()4   const char *__asan_default_suppressions() { return "FooBar"; }
5 }
6 // CHECK: AddressSanitizer: failed to parse suppressions
main()7 int main() {}
8