diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-02-19 01:41:04 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-02-19 01:41:04 +0000 |
commit | 3f04773f7884c1c7b8b89dddfb177b1f41f54c56 (patch) | |
tree | 8c66730e481d8ce70c0a8e082bfdbadc0badcc4b /llvm/test/CodeGen/Generic/call-void.ll | |
parent | 22011e90c992533411d2efc17f5efd365a636117 (diff) | |
download | bcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.tar.gz bcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.zip |
Remove llvm-upgrade and update tests.
llvm-svn: 47296
Diffstat (limited to 'llvm/test/CodeGen/Generic/call-void.ll')
-rw-r--r-- | llvm/test/CodeGen/Generic/call-void.ll | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/Generic/call-void.ll b/llvm/test/CodeGen/Generic/call-void.ll index 64e6336b16f..b8826899239 100644 --- a/llvm/test/CodeGen/Generic/call-void.ll +++ b/llvm/test/CodeGen/Generic/call-void.ll @@ -1,10 +1,11 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc +; RUN: llvm-as < %s | llc -void %foo() { - ret void +define void @foo() { + ret void } -int %main() { - call void ()* %foo() - ret int 0 +define i32 @main() { + call void @foo( ) + ret i32 0 } + |