summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/member-init-assignment.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2012-10-24 12:22:56 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2012-10-24 12:22:56 +0000
commit35668cc401cdfc80a45b2d742a7ac6c9962404b9 (patch)
tree7adf7a3e43daf42f5cdef4dc437a4191f9b0651e /clang/test/CodeGenCXX/member-init-assignment.cpp
parent1eef2b813c06980bdd8220443228e4737b4e209b (diff)
downloadbcm5719-llvm-35668cc401cdfc80a45b2d742a7ac6c9962404b9.tar.gz
bcm5719-llvm-35668cc401cdfc80a45b2d742a7ac6c9962404b9.zip
A number of test cases assume that an "int" parameter or return value
will be represented in the IR as a plain "i32" type. This causes the tests to spuriously fail on platforms where int is not a 32-bit type, or where the ABI requires attributes like "signext" or "zeroext" to be used. This patch adds -triple or -target parameters to force those tests to use the i386-unknown-unknown target. llvm-svn: 166551
Diffstat (limited to 'clang/test/CodeGenCXX/member-init-assignment.cpp')
-rw-r--r--clang/test/CodeGenCXX/member-init-assignment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/member-init-assignment.cpp b/clang/test/CodeGenCXX/member-init-assignment.cpp
index 84c4a36fe2d..acc70846700 100644
--- a/clang/test/CodeGenCXX/member-init-assignment.cpp
+++ b/clang/test/CodeGenCXX/member-init-assignment.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple i386-unknown-unknown -emit-llvm -o - | FileCheck %s
// PR7291
struct Foo {
OpenPOWER on IntegriCloud