]> granicus.if.org Git - clang/commitdiff
Attempt to fix buildbots not targetting x86
authorJames Molloy <james.molloy@arm.com>
Mon, 5 Sep 2016 12:28:49 +0000 (12:28 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 5 Sep 2016 12:28:49 +0000 (12:28 +0000)
r280613 introduced failures for all builds that don't target x86 by default. Add an explicit target to avoid a missing feature diagnostic.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280658 91177308-0d34-0410-b5e6-96231b3b80d8

test/Modules/compiler_builtins_x86.c

index f24bbafbd13b29589eccfbabd02ffe77d11d86db..036516b21d14ab640f1929127345b7a6048e731e 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: rm -rf %t
-// RUN: %clang_cc1 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -verify -ffreestanding
+// RUN: %clang_cc1 -triple x86 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -verify -ffreestanding
 // expected-no-diagnostics
 
 #include<x86intrin.h>