Files
clang-p2996/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h
John Thompson 0b7fc15e70 Undo r189834 - broke test.
llvm-svn: 189835
2013-09-03 18:38:32 +00:00

19 lines
313 B
C

// Set up so TypeInt only defined during InconsistentHeader1.h include.
#ifdef SYMBOL1
#define SYMBOL 1
#define FUNC_STYLE(a, b) a||b
#endif
#ifdef SYMBOL2
#define SYMBOL 2
#define FUNC_STYLE(a, b) a&&b
#endif
#if SYMBOL == 1
typedef int TypeInt;
#endif
int var = FUNC_STYLE(1, 0);
#if defined(SYMBOL1)
#endif