blob: 6b18c87d19f94f2b2196dab8674fe251688a1f26 [file] [log] [blame]
Ilya Biryukovf3150002017-08-21 12:03:08 +00001#ifndef HEADER_GUARD
2
3#define FOO int aba;
4FOO
5
6#endif
7// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 \
8// RUN: local -std=c++14 %s 2>&1 \
9// RUN: | FileCheck %s --implicit-check-not "libclang: crash detected" \
10// RUN: --implicit-check-not "error:"
11// CHECK: macro expansion=FOO:3:9 Extent=[4:1 - 4:4]
12// CHECK: VarDecl=aba:4:1 (Definition) Extent=[4:1 - 4:4]