xref: /aosp_15_r20/external/clang/test/Modules/self-import-header.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// rdar://13840148
2*67e74705SXin Li// REQUIRES: x86-registered-target
3*67e74705SXin Li// RUN: rm -rf %t
4*67e74705SXin Li// RUN: %clang -fsyntax-only -isysroot %S/Inputs/System/usr/include -fmodules -fmodules-cache-path=%t \
5*67e74705SXin Li// RUN:    -target x86_64-darwin \
6*67e74705SXin Li// RUN:    -F %S -F %S/Inputs/self-import-header -I %S/Inputs/self-import-header \
7*67e74705SXin Li// RUN:    %s -D__need_wint_t -Werror=implicit-function-declaration
8*67e74705SXin Li
9*67e74705SXin Li@import af;
10