diff options
Diffstat (limited to 'compiler-rt/test/asan/TestCases/interface_test.cc')
| -rw-r--r-- | compiler-rt/test/asan/TestCases/interface_test.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/TestCases/interface_test.cc b/compiler-rt/test/asan/TestCases/interface_test.cc new file mode 100644 index 00000000000..297b5526e9d --- /dev/null +++ b/compiler-rt/test/asan/TestCases/interface_test.cc @@ -0,0 +1,8 @@ +// Check that user may include ASan interface header. +// RUN: %clang_asan %s -o %t && %t +// RUN: %clang %s -o %t && %t +#include <sanitizer/asan_interface.h> + +int main() { + return 0; +} |

