diff options
author | Duncan Sands <baldrick@free.fr> | 2008-02-15 19:42:13 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-02-15 19:42:13 +0000 |
commit | 31fdedde044228a3346bf3389cc9319cac8ff515 (patch) | |
tree | 276041bae6cb74e3511cacd177c1fe01fe964bb6 | |
parent | ca3a56f2fbde4132e405ead4edadc3570b209386 (diff) |
Fix this test on linux, which returns S242
using sret.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47173 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/C++Frontend/2008-02-13-sret.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/C++Frontend/2008-02-13-sret.cpp b/test/C++Frontend/2008-02-13-sret.cpp index 11595ba4e9..8ad2047019 100644 --- a/test/C++Frontend/2008-02-13-sret.cpp +++ b/test/C++Frontend/2008-02-13-sret.cpp @@ -1,4 +1,5 @@ -// RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep retval | grep S242 | grep {i32 1} | count 2 +// RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep {retval\\|memtmp} | grep S242 | \ +// RUN: grep {i32 1} | count 2 // Test that all 8 bytes of ret in check242 are copied. llvm-gcc was // treating S242 as if it were S93, which does not need to have the |