summaryrefslogtreecommitdiffstats
path: root/llvm/projects/Stacker/test/shr.st
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/projects/Stacker/test/shr.st')
-rw-r--r--llvm/projects/Stacker/test/shr.st7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/projects/Stacker/test/shr.st b/llvm/projects/Stacker/test/shr.st
new file mode 100644
index 00000000000..3dbc24e3ce7
--- /dev/null
+++ b/llvm/projects/Stacker/test/shr.st
@@ -0,0 +1,7 @@
+#
+# SHR test
+#
+FORWARD success;
+FORWARD failure;
+: show_failure >d SPACE failure ;
+: MAIN 64 3 >> 8 = IF success ELSE show_failure ENDIF ;
OpenPOWER on IntegriCloud