summaryrefslogtreecommitdiff
path: root/test/CodeGen/mbackchain-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/mbackchain-3.c')
-rw-r--r--test/CodeGen/mbackchain-3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/mbackchain-3.c b/test/CodeGen/mbackchain-3.c
new file mode 100644
index 0000000000000..b115861f5e02a
--- /dev/null
+++ b/test/CodeGen/mbackchain-3.c
@@ -0,0 +1,7 @@
+// RUN: %clang -mno-backchain --target=s390x-linux -S -emit-llvm -o - %s | FileCheck %s
+
+// CHECK: define void @foo() [[NUW:#[0-9]+]]
+void foo(void) {
+}
+
+// CHECK-NOT: "backchain"