Add -m32 to compilation line; test is only valid in
[oota-llvm.git] / test / C++Frontend / 2008-02-13-sret.cpp
index 236495ffb4c44ff0ae38589d8c0fe455729c9149..fd427caf30429e2822838d31b68bd61ec2a97efd 100644 (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).