Clang Project

clang_source_code/test/Index/preamble-conditionals-inverted.cpp
1// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 \
2// RUN:                                       local -std=c++14 %s 2>&1 \
3// RUN: | FileCheck %s --implicit-check-not "error:"
4#ifdef FOO_H
5
6void foo() {}
7
8#endif
9
10int foo() { return 0; }
11