aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-03-10 17:56:53 +0000
committerDale Johannesen <dalej@apple.com>2008-03-10 17:56:53 +0000
commit1da3d2743e7b7d19b684675b9aac1956ac46073b (patch)
treebfe75c82f86b03d3a4f844a3f3ce0ff3de76c517 /test/C++Frontend
parent9348c69dcfe1aa1e7f92752a18222dcfbcd96214 (diff)
downloadexternal_llvm-1da3d2743e7b7d19b684675b9aac1956ac46073b.zip
external_llvm-1da3d2743e7b7d19b684675b9aac1956ac46073b.tar.gz
external_llvm-1da3d2743e7b7d19b684675b9aac1956ac46073b.tar.bz2
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
Diffstat (limited to 'test/C++Frontend')
-rw-r--r--test/C++Frontend/2008-02-13-sret.cpp4
1 files 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 236495f..fd427ca 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).