]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Modules/auto-module-import.c
Vendor import of clang release_30 branch r142614:
[FreeBSD/FreeBSD.git] / test / Modules / auto-module-import.c
1
2 // RUN: rm -rf %t
3 // RUN: %clang_cc1 -x objective-c -fmodule-cache-path %t -fauto-module-import -F %S/Inputs -verify %s 
4
5 #include <DependsOnModule/DependsOnModule.h>
6
7 #ifdef MODULE_H_MACRO
8 #  error MODULE_H_MACRO should have been hidden
9 #endif
10
11 #ifdef DEPENDS_ON_MODULE
12 #  error DEPENDS_ON_MODULE should have been hidden
13 #endif