summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-07-27 20:48:39 +0000
committerNirav Dave <niravd@google.com>2016-07-27 20:48:39 +0000
commit574a886e7569c20bc6b29128ea633262058b1812 (patch)
tree2bec48136fd79bc247c65be5a71fdcb72c545ea8 /clang
parent8089e81ccde146f550852a595b98666d6fe01bbd (diff)
downloadbcm5719-llvm-574a886e7569c20bc6b29128ea633262058b1812.tar.gz
bcm5719-llvm-574a886e7569c20bc6b29128ea633262058b1812.zip
Add target triple in test
llvm-svn: 276915
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGen/preserve-as-comments.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/preserve-as-comments.c b/clang/test/CodeGen/preserve-as-comments.c
index a145ca02633..948ffc7a155 100644
--- a/clang/test/CodeGen/preserve-as-comments.c
+++ b/clang/test/CodeGen/preserve-as-comments.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -S -fno-preserve-as-comments %s -o - | FileCheck %s --check-prefix=NOASM --check-prefix=CHECK
-// RUN: %clang_cc1 -S %s -o - | FileCheck %s --check-prefix=ASM --check-prefix=CHECK
+// RUN: %clang_cc1 -S -triple=x86_64-unknown-unknown -fno-preserve-as-comments %s -o - | FileCheck %s --check-prefix=NOASM --check-prefix=CHECK
+// RUN: %clang_cc1 -S %s -triple=x86_64-unknown-unknown -o - | FileCheck %s --check-prefix=ASM --check-prefix=CHECK
// CHECK-LABEL: main
// CHECK: #APP
OpenPOWER on IntegriCloud