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
This commit is contained in:
NAKAMURA Takumi 2013-05-16 06:59:30 +00:00
Родитель 0d8e9646bc
Коммит 8b56788202
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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;