Somehow "simplest" test became a hello world test. Rectify this.
authorChris Lattner <sabre@nondot.org>
Sun, 27 Jul 2003 00:28:10 +0000 (00:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 27 Jul 2003 00:28:10 +0000 (00:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7353 91177308-0d34-0410-b5e6-96231b3b80d8

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

diff --git a/test/ExecutionEngine/hello2.ll b/test/ExecutionEngine/hello2.ll
new file mode 100644 (file)
index 0000000..48d7688
--- /dev/null
@@ -0,0 +1,19 @@
+
+%X = global int 7
+%msg = internal global [13 x sbyte] c"Hello World\0A\00"
+
+
+implementation
+
+declare void %printf([13 x sbyte]*)
+
+void %bar() {
+  call void %printf([13 x sbyte]* %msg)
+  ret void 
+}
+
+int %main() {
+        call void %bar()
+        ret int 0
+}
+
index 48d7688bcc62b399ceb935c4d7928af7106d1e48..e5d8cb0aac820826e965276dee48bc8c8df85e42 100644 (file)
@@ -1,19 +1,7 @@
 
-%X = global int 7
-%msg = internal global [13 x sbyte] c"Hello World\0A\00"
-
-
 implementation
 
-declare void %printf([13 x sbyte]*)
-
-void %bar() {
-  call void %printf([13 x sbyte]* %msg)
-  ret void 
-}
-
 int %main() {
-        call void %bar()
         ret int 0
 }