1 // Test that mixed static/dynamic sanitization of program objects
4 // RUN: %clangxx_asan -DBUILD_SO=1 -fPIC -shared %s -o %t.so
5 // RUN: %clangxx_asan_static %s %t.so -o %t
6 // RUN: not %run %t 2>&1 | FileCheck %s
8 // REQUIRES: asan-dynamic-runtime
13 void do_access(const void *p) { dummy = ((const char *)p)[1]; }
16 extern void do_access(const void *p);
17 int main(int argc, char **argv) {
25 // CHECK: Your application is linked against incompatible ASan runtimes