From: NAKAMURA Takumi Date: Thu, 16 May 2013 06:59:30 +0000 (+0000) Subject: clang/test/Modules/self-import-header/test.m: Add explicit -target. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b56788202e49747cc82ef87e5ef0d8d92c11b5b;p=clang clang/test/Modules/self-import-header/test.m: Add explicit -target. 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 --- diff --git a/test/Modules/self-import-header/test.m b/test/Modules/self-import-header/test.m index 52cae7ebff..377c01d66e 100644 --- a/test/Modules/self-import-header/test.m +++ b/test/Modules/self-import-header/test.m @@ -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;