diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-04 17:00:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-04 17:00:25 +0000 |
commit | 00af11738166f86cb7a1cd4a34109725218d69e6 (patch) | |
tree | 3932af0342e77a99526cafdca1e6e4d99d782915 | |
parent | 0af0d5bd3e38dfcf29aec3e9982e3097a6e491d9 (diff) | |
download | external_llvm-00af11738166f86cb7a1cd4a34109725218d69e6.zip external_llvm-00af11738166f86cb7a1cd4a34109725218d69e6.tar.gz external_llvm-00af11738166f86cb7a1cd4a34109725218d69e6.tar.bz2 |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4912 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/ExecutionEngine/simplesttest.ll | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/ExecutionEngine/simplesttest.ll b/test/ExecutionEngine/simplesttest.ll new file mode 100644 index 0000000..eb86c08 --- /dev/null +++ b/test/ExecutionEngine/simplesttest.ll @@ -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 +} + |