Make test more lenient for custom clang version strings
[llvm-project.git] / compiler-rt / test / asan / TestCases / interface_test.cpp
blob9419f07e91eae33ab67c390f6a4e40332b795189
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>
8 int main() {
9 return 0;