r276915 - Add target triple in test
Nirav Dave via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 27 13:48:39 PDT 2016
Author: niravd
Date: Wed Jul 27 15:48:39 2016
New Revision: 276915
URL: http://llvm.org/viewvc/llvm-project?rev=276915&view=rev
Log:
Add target triple in test
Modified:
cfe/trunk/test/CodeGen/preserve-as-comments.c
Modified: cfe/trunk/test/CodeGen/preserve-as-comments.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/preserve-as-comments.c?rev=276915&r1=276914&r2=276915&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/preserve-as-comments.c (original)
+++ cfe/trunk/test/CodeGen/preserve-as-comments.c Wed Jul 27 15:48:39 2016
@@ -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
More information about the cfe-commits
mailing list