diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
commit | e3ff5ada8a8f6cc166ecc45147da0d63c3683026 (patch) | |
tree | ccd4a6b0d605384b41f7d3b84cc019344c2dd65a /test/Assembler/2005-01-31-CallingAggregateFunction.ll | |
parent | 950bf6030101d670ea205efd307ea5d3b375544d (diff) | |
download | external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.zip external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.gz external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.bz2 |
For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645:
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2005-01-31-CallingAggregateFunction.ll')
-rw-r--r-- | test/Assembler/2005-01-31-CallingAggregateFunction.ll | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/Assembler/2005-01-31-CallingAggregateFunction.ll b/test/Assembler/2005-01-31-CallingAggregateFunction.ll index a5de2ba..7eff634 100644 --- a/test/Assembler/2005-01-31-CallingAggregateFunction.ll +++ b/test/Assembler/2005-01-31-CallingAggregateFunction.ll @@ -1,8 +1,9 @@ -; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f 2>&1 | grep "LLVM functions cannot return aggregate types" +; RUN: llvm-as 2>&1 < %s -o /dev/null -f | \ +; RUN: grep "LLVM functions cannot return aggregate types" -void %test() { - call {} %foo() +define void @test() { + call {} @foo() ret void } -declare {} %foo() +declare {} @foo() |