1*67e74705SXin Li // RUN: c-index-test -test-inclusion-stack-source %s 2>&1 | FileCheck %s 2*67e74705SXin Li 3*67e74705SXin Li #include "include_test.h" 4*67e74705SXin Li 5*67e74705SXin Li // CHECK: cindex-test-inclusions.c 6*67e74705SXin Li // CHECK: included by: 7*67e74705SXin Li // CHECK: include_test.h 8*67e74705SXin Li // CHECK: included by: 9*67e74705SXin Li // CHECK: cindex-test-inclusions.c:3:10 10*67e74705SXin Li // CHECK: include_test_2.h 11*67e74705SXin Li // CHECK: included by: 12*67e74705SXin Li // CHECK: include_test.h:1:10 13*67e74705SXin Li // CHECK: cindex-test-inclusions.c:3:10 14*67e74705SXin Li 15*67e74705SXin Li // RUN: env CINDEXTEST_EDITING=1 c-index-test -test-inclusion-stack-source %s 2>&1 | FileCheck -check-prefix=REPARSE %s 16*67e74705SXin Li // REPARSE: include_test_2.h 17*67e74705SXin Li // REPARSE: included by: 18*67e74705SXin Li // REPARSE: include_test.h:1:10 19*67e74705SXin Li // REPARSE: cindex-test-inclusions.c:3:10 20*67e74705SXin Li // REPARSE: include_test.h 21*67e74705SXin Li // REPARSE: included by: 22*67e74705SXin Li // REPARSE: cindex-test-inclusions.c:3:10 23*67e74705SXin Li // REPARSE: cindex-test-inclusions.c 24*67e74705SXin Li // REPARSE: included by: 25