From: Chris Lattner Date: Sun, 27 Jul 2003 00:28:10 +0000 (+0000) Subject: Somehow "simplest" test became a hello world test. Rectify this. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=699104633afb16c22ce3cd8fe1dc8054aacdc613;p=oota-llvm.git Somehow "simplest" test became a hello world test. Rectify this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7353 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/ExecutionEngine/hello2.ll b/test/ExecutionEngine/hello2.ll new file mode 100644 index 00000000000..48d7688bcc6 --- /dev/null +++ b/test/ExecutionEngine/hello2.ll @@ -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 +} + diff --git a/test/ExecutionEngine/simplesttest.ll b/test/ExecutionEngine/simplesttest.ll index 48d7688bcc6..e5d8cb0aac8 100644 --- a/test/ExecutionEngine/simplesttest.ll +++ b/test/ExecutionEngine/simplesttest.ll @@ -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 }