Files
clang-p2996/clang/test/Preprocessor/Inputs/include_instead/file-not-found.h
Christopher Di Bella 0871954197 Revert "Revert "[clang][pp] adds '#pragma include_instead'""
Includes regression test for problem noted by @hans.
This reverts commit 973de71856.

Differential Revision: https://reviews.llvm.org/D106898
2021-07-29 19:21:43 +00:00

4 lines
166 B
C

#pragma GCC system_header
#pragma clang include_instead(<include_instead/does_not_exist.h>)
// expected-error@-1{{'include_instead/does_not_exist.h' file not found}}