xref: /llvm-project/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h (revision 0b7fc15e7035276e2f8a778ebe15f4cad9007c99)
1 // Set up so TypeInt only defined during InconsistentHeader1.h include.
2 #ifdef SYMBOL1
3 #define SYMBOL 1
4 #define FUNC_STYLE(a, b) a||b
5 #endif
6 #ifdef SYMBOL2
7 #define SYMBOL 2
8 #define FUNC_STYLE(a, b) a&&b
9 #endif
10 
11 #if SYMBOL == 1
12 typedef int TypeInt;
13 #endif
14 
15 int var = FUNC_STYLE(1, 0);
16 
17 #if defined(SYMBOL1)
18 #endif
19