From ce117b07c5543d05ffccb8093b42389d5821314e Mon Sep 17 00:00:00 2001 From: John Thompson Date: Sat, 27 Jul 2013 00:54:17 +0000 Subject: Fixed missing checkin. llvm-svn: 187282 --- clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h') diff --git a/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h b/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h index 92e7d0367dc..ab02b2504b8 100644 --- a/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h +++ b/clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h @@ -1,11 +1,18 @@ // 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 -- cgit v1.2.3