1// Check that user may include ASan interface header.
2// RUN: %clang_asan %s -o %t && %run %t
3// RUN: %clang_asan -x c %s -o %t && %run %t
4// RUN: %clang %s -pie -o %t && %run %t
5// RUN: %clang -x c %s -pie -o %t && %run %t
6#include <sanitizer/asan_interface.h>
7
8int main() {
9 return 0;
10}
11

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