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
This commit is contained in:
Dale Johannesen 2008-03-10 17:56:53 +00:00
parent 9348c69dcf
commit 1da3d2743e

View File

@ -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).