1 // Test that mixed static/dynamic sanitization of program objects
4 // RUN: %clangxx_asan -DBUILD_SO=1 -fPIC -shared %s -o %dynamiclib
5 // RUN: %clangxx_asan_static %s %ld_flags_rpath_exe -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