From 1da3d2743e7b7d19b684675b9aac1956ac46073b Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Mon, 10 Mar 2008 17:56:53 +0000 Subject: [PATCH] Add -m32 to compilation line; test is only valid in 32-bit environment. PR 2136. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48159 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2008-02-13-sret.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/C++Frontend/2008-02-13-sret.cpp b/test/C++Frontend/2008-02-13-sret.cpp index 236495ffb4c..fd427caf304 100644 --- a/test/C++Frontend/2008-02-13-sret.cpp +++ b/test/C++Frontend/2008-02-13-sret.cpp @@ -1,5 +1,5 @@ -// RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep {retval\\|memtmp} | grep S242 | \ -// RUN: grep {i32 1} | count 1 +// RUN: %llvmgxx -S -O0 -m32 -emit-llvm %s -o - | grep {retval\\|memtmp} | \ +// RUN: grep S242 | grep {i32 1} | count 1 // Test that all 8 bytes of ret in check242 are copied, and only 4 bytes of // ret in check93 are copied (the same LLVM struct is used for both).