clang/test/Index/single-file-parse-include-macro.c
raw| 1 | // RUN: split-file %s %t |
| 2 | // RUN: c-index-test -single-file-parse %t/tu.c 2>&1 | FileCheck --allow-empty %t/tu.c |
| 3 | |
| 4 | //--- header1.h |
| 5 | #define HEADER2_H "header2.h" |
| 6 | //--- header2.h |
| 7 | //--- tu.c |
| 8 | #include "header1.h" |
| 9 | // CHECK-NOT: tu.c:[[@LINE+1]]:10: error: expected "FILENAME" or <FILENAME> |
| 10 | #include HEADER2_H |