diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-27 00:28:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-27 00:28:10 +0000 |
commit | 699104633afb16c22ce3cd8fe1dc8054aacdc613 (patch) | |
tree | 33ba8d6f7a57a39efa9c4468480ea5ba66d29c58 /test/ExecutionEngine | |
parent | d281de21815d4766cf4960ad2ef075bee3beac0b (diff) |
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
Diffstat (limited to 'test/ExecutionEngine')
-rw-r--r-- | test/ExecutionEngine/hello2.ll | 19 | ||||
-rw-r--r-- | test/ExecutionEngine/simplesttest.ll | 12 |
2 files changed, 19 insertions, 12 deletions
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 } |