projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1d49b
)
Standard hello-world test
author
Chris Lattner
<sabre@nondot.org>
Tue, 3 Dec 2002 20:25:43 +0000
(20:25 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 3 Dec 2002 20:25:43 +0000
(20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4889
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/ExecutionEngine/hello.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/ExecutionEngine/hello.ll
b/test/ExecutionEngine/hello.ll
new file mode 100644
(file)
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
+}
+