summaryrefslogtreecommitdiff
path: root/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asan/lit_tests/TestCases/strncpy-overflow.cc')
-rw-r--r--lib/asan/lit_tests/TestCases/strncpy-overflow.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/asan/lit_tests/TestCases/strncpy-overflow.cc b/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
index 2b5f5b7c..5b89dadd 100644
--- a/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
+++ b/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
@@ -7,6 +7,8 @@
// RUN: %clangxx_asan -O3 %s -o %t && not %t 2>%t.out
// RUN: FileCheck %s < %t.out && FileCheck %s --check-prefix=CHECK-%os < %t.out
+// REQUIRES: compiler-rt-optimized
+
#include <string.h>
#include <stdlib.h>
int main(int argc, char **argv) {