summaryrefslogtreecommitdiffstats
path: root/llvm/projects/Stacker/samples/hello.st
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/projects/Stacker/samples/hello.st')
-rw-r--r--llvm/projects/Stacker/samples/hello.st5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/projects/Stacker/samples/hello.st b/llvm/projects/Stacker/samples/hello.st
new file mode 100644
index 00000000000..e7e7b43182b
--- /dev/null
+++ b/llvm/projects/Stacker/samples/hello.st
@@ -0,0 +1,5 @@
+#
+# Traditional "Hello World" program in Stacker
+#
+: say_hello "Hello, World!" >s CR ;
+: MAIN say_hello ;
OpenPOWER on IntegriCloud