summaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/hello.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-03 20:25:43 +0000
committerChris Lattner <sabre@nondot.org>2002-12-03 20:25:43 +0000
commit92ae6c23f1404c54c207f06700ea282740e37f81 (patch)
tree4cf0372a6e6e2ddcef392f4322d59925a0483e9c /test/ExecutionEngine/hello.ll
parent7b1d49b61d212d3428f7505d550ef767f19543f8 (diff)
downloadexternal_llvm-92ae6c23f1404c54c207f06700ea282740e37f81.zip
external_llvm-92ae6c23f1404c54c207f06700ea282740e37f81.tar.gz
external_llvm-92ae6c23f1404c54c207f06700ea282740e37f81.tar.bz2
Standard hello-world test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/hello.ll')
-rw-r--r--test/ExecutionEngine/hello.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/ExecutionEngine/hello.ll b/test/ExecutionEngine/hello.ll
new file mode 100644
index 0000000..b85e322
--- /dev/null
+++ b/test/ExecutionEngine/hello.ll
@@ -0,0 +1,11 @@
+%.LC0 = internal global [12 x sbyte] c"Hello World\00"
+
+implementation
+
+declare int %puts(sbyte*)
+
+void %main() {
+ %reg210 = call int %puts( sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0) )
+ ret void
+}
+