• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef HEADER_GUARD
2 
3 #define FOO int aba;
4 FOO
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]
13