From 94961bd37c49a9a0e29f68a09b6ef17ce7a73ed2 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. llvm-svn: 48159 --- llvm/test/C++Frontend/2008-02-13-sret.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/C++Frontend/2008-02-13-sret.cpp b/llvm/test/C++Frontend/2008-02-13-sret.cpp index 236495ffb4c4..fd427caf3042 100644 --- a/llvm/test/C++Frontend/2008-02-13-sret.cpp +++ b/llvm/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).