summaryrefslogtreecommitdiffstats
path: root/test/Index/preamble-conditionals-skipping.cpp
blob: fa5764cd5de90274fb184e73dc5c501ea82fb72a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 \
// RUN:                                       local -std=c++14 %s 2>&1 \
// RUN: | FileCheck %s --implicit-check-not "error:"

#ifdef MYCPLUSPLUS
extern "C" {
#endif

#ifdef MYCPLUSPLUS
}
#endif

int main()
{
    return 0;
}