summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/shadowcallstack/overflow-x86_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/shadowcallstack/overflow-x86_64.c')
-rw-r--r--compiler-rt/test/shadowcallstack/overflow-x86_64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/test/shadowcallstack/overflow-x86_64.c b/compiler-rt/test/shadowcallstack/overflow-x86_64.c
new file mode 100644
index 00000000000..38bb13a969a
--- /dev/null
+++ b/compiler-rt/test/shadowcallstack/overflow-x86_64.c
@@ -0,0 +1,5 @@
+// See overflow.c for a description.
+
+// REQUIRES: x86_64-target-arch
+// RUN: %clang_scs %S/overflow.c -o %t -DITERATIONS=12
+// RUN: not --crash %run %t
OpenPOWER on IntegriCloud