blob: b85cd24f074756a6764a30136522ff895a180fa3 [file] [log] [blame]
Ted Kremenek0b86e3a2010-01-26 19:31:51 +00001// RUN: c-index-test -test-inclusion-stack-source %s 2>&1 | FileCheck %s
2
3#include "include_test.h"
4
5// CHECK: cindex-test-inclusions.c
6// CHECK: included by:
7// CHECK: include_test.h
8// CHECK: included by:
9// CHECK: cindex-test-inclusions.c:3:10
10// CHECK: include_test_2.h
11// CHECK: included by:
12// CHECK: include_test.h:1:10
13// CHECK: cindex-test-inclusions.c:3:10
Erik Verbruggen8f9d1802016-01-06 15:12:51 +000014
15// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-inclusion-stack-source %s 2>&1 | FileCheck -check-prefix=REPARSE %s
16// REPARSE: include_test_2.h
17// REPARSE: included by:
18// REPARSE: include_test.h:1:10
19// REPARSE: cindex-test-inclusions.c:3:10
20// REPARSE: include_test.h
21// REPARSE: included by:
22// REPARSE: cindex-test-inclusions.c:3:10
23// REPARSE: cindex-test-inclusions.c
24// REPARSE: included by: