diff options
Diffstat (limited to 'test/Preprocessor/microsoft-header-search.c')
-rw-r--r-- | test/Preprocessor/microsoft-header-search.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Preprocessor/microsoft-header-search.c b/test/Preprocessor/microsoft-header-search.c new file mode 100644 index 0000000..2cdc54e --- /dev/null +++ b/test/Preprocessor/microsoft-header-search.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -I%S/Inputs/microsoft-header-search %s -fms-compatibility -verify + +// expected-warning@Inputs/microsoft-header-search/a/findme.h:3 {{findme.h successfully included using MS search rules}} +// expected-warning@Inputs/microsoft-header-search/a/b/include3.h:3 {{#include resolved using non-portable MSVC search rules as}} + +// expected-warning@Inputs/microsoft-header-search/falsepos.h:3 {{successfully resolved the falsepos.h header}} + +#include "Inputs/microsoft-header-search/include1.h" |