]> granicus.if.org Git - clang/commitdiff
clang/test/Modules/self-import-header/test.m: Add explicit -target.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 16 May 2013 06:59:30 +0000 (06:59 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 16 May 2013 06:59:30 +0000 (06:59 +0000)
Clang has an issue between mingw/include/float.h and clang/Headers/float.h with cyclic include_next.
For now, it should work to suppress #include_next in clang/float.h with an explicit target.
(It may work with -U__MINGW32__, though.)

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

test/Modules/self-import-header/test.m

index 52cae7ebff11e847c3cd3ad06b0a29232f041957..377c01d66eb32b87a24258225bab020ac6def9ff 100644 (file)
@@ -2,6 +2,7 @@
 
 // RUN: rm -rf %t
 // RUN: %clang -fsyntax-only -isysroot %S/../Inputs/System/usr/include -fmodules -fmodules-cache-path=%t \
+// RUN:    -target x86_64-darwin \
 // RUN:    -F %S -I %S %s -D__need_wint_t -Werror=implicit-function-declaration
 
 @import af;