New testcase
authorChris Lattner <sabre@nondot.org>
Wed, 4 Dec 2002 17:00:25 +0000 (17:00 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Dec 2002 17:00:25 +0000 (17:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4912 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/simplesttest.ll [new file with mode: 0644]

diff --git a/test/ExecutionEngine/simplesttest.ll b/test/ExecutionEngine/simplesttest.ll
new file mode 100644 (file)
index 0000000..eb86c08
--- /dev/null
@@ -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
+}
+