Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Preprocessor / microsoft-header-search-fail.c
blobc377cb11d658aa9e7230322f67ada211e8649d78
1 // RUN: rm -rf %t
2 // RUN: split-file %s %t
4 // RUN: %clang_cc1 -Eonly -fms-compatibility %t/test.c -I %t/include -verify
6 //--- test.c
7 #include "x/header.h"
8 #include "z/header.h"
10 // expected-warning-re@include/y/header.h:1 {{#include resolved using non-portable Microsoft search rules as: {{.*}}x{{/|\\\\?}}culprit.h}}
11 // expected-error@include/z/header.h:1 {{'culprit.h' file not found}}
13 //--- include/x/header.h
14 #include "y/header.h"
16 //--- include/y/header.h
17 #include "culprit.h"
19 //--- include/x/culprit.h
21 //--- include/z/header.h
22 #include "culprit.h"