r181988 - clang/test/Modules/self-import-header/test.m: Add explicit -target.

NAKAMURA Takumi geek4civic at gmail.com
Wed May 15 23:59:30 PDT 2013


Author: chapuni
Date: Thu May 16 01:59:30 2013
New Revision: 181988

URL: http://llvm.org/viewvc/llvm-project?rev=181988&view=rev
Log:
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.)

Modified:
    cfe/trunk/test/Modules/self-import-header/test.m

Modified: cfe/trunk/test/Modules/self-import-header/test.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/self-import-header/test.m?rev=181988&r1=181987&r2=181988&view=diff
==============================================================================
--- cfe/trunk/test/Modules/self-import-header/test.m (original)
+++ cfe/trunk/test/Modules/self-import-header/test.m Thu May 16 01:59:30 2013
@@ -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;





More information about the cfe-commits mailing list