]> granicus.if.org Git - clang/commitdiff
Add target triple in test
authorNirav Dave <niravd@google.com>
Wed, 27 Jul 2016 20:48:39 +0000 (20:48 +0000)
committerNirav Dave <niravd@google.com>
Wed, 27 Jul 2016 20:48:39 +0000 (20:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276915 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/preserve-as-comments.c

index a145ca02633e9af25e5bbd238604f57fc75833fb..948ffc7a15543626a6c71c5b7623aa3437866f71 100644 (file)
@@ -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