From 3191b2b32a96e1a6ee833fcca73e5c8e0c67ba65 Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 27 May 2015 18:47:56 +0000 Subject: Vendor import of clang trunk r238337: https://llvm.org/svn/llvm-project/cfe/trunk@238337 --- test/Modules/self-import-header.m | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/Modules/self-import-header.m (limited to 'test/Modules/self-import-header.m') diff --git a/test/Modules/self-import-header.m b/test/Modules/self-import-header.m new file mode 100644 index 0000000..9b4bd5d --- /dev/null +++ b/test/Modules/self-import-header.m @@ -0,0 +1,9 @@ +// rdar://13840148 + +// 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 -F %S/Inputs/self-import-header -I %S/Inputs/self-import-header \ +// RUN: %s -D__need_wint_t -Werror=implicit-function-declaration + +@import af; -- cgit v1.1