From 699104633afb16c22ce3cd8fe1dc8054aacdc613 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Jul 2003 00:28:10 +0000 Subject: [PATCH] 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 --- test/ExecutionEngine/hello2.ll | 19 +++++++++++++++++++ test/ExecutionEngine/simplesttest.ll | 12 ------------ 2 files changed, 19 insertions(+), 12 deletions(-) create mode 100644 test/ExecutionEngine/hello2.ll 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 }