summaryrefslogtreecommitdiffstats
path: root/test/Index/preamble-conditionals-inverted.cpp
blob: f5cf1205e37dd1a49838787c4d5cf795d1eb5c06 (plain)
1
2
3
4
5
6
7
8
9
10
// 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 FOO_H

void foo() {}

#endif

int foo() { return 0; }