Fix this test on linux, which returns S242
authorDuncan Sands <baldrick@free.fr>
Fri, 15 Feb 2008 19:42:13 +0000 (19:42 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 15 Feb 2008 19:42:13 +0000 (19:42 +0000)
using sret.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47173 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2008-02-13-sret.cpp

index 11595ba4e942153076239033eb6f5bd3071635e7..8ad204701975fe70869978e593abfe8852bcb986 100644 (file)
@@ -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