summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/simplesttest.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-04 17:00:25 +0000
committerChris Lattner <sabre@nondot.org>2002-12-04 17:00:25 +0000
commit00af11738166f86cb7a1cd4a34109725218d69e6 (patch)
tree3932af0342e77a99526cafdca1e6e4d99d782915 /test/ExecutionEngine/simplesttest.ll
parent0af0d5bd3e38dfcf29aec3e9982e3097a6e491d9 (diff)
downloadllvm-00af11738166f86cb7a1cd4a34109725218d69e6.tar.gz
llvm-00af11738166f86cb7a1cd4a34109725218d69e6.tar.bz2
llvm-00af11738166f86cb7a1cd4a34109725218d69e6.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/simplesttest.ll')
-rw-r--r--test/ExecutionEngine/simplesttest.ll19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/ExecutionEngine/simplesttest.ll b/test/ExecutionEngine/simplesttest.ll
new file mode 100644
index 0000000000..eb86c08db6
--- /dev/null
+++ b/test/ExecutionEngine/simplesttest.ll
@@ -0,0 +1,19 @@
+
+%X = global int 7
+%msg = internal global [13 x sbyte] c"Hello World\0D\00"
+
+
+implementation
+
+declare void %printf([13 x sbyte]*)
+
+void %bar() {
+ call void %printf([13 x sbyte]* %msg)
+ ret void
+}
+
+void %main() {
+ call void %bar()
+ ret void
+}
+