summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-07-27 00:54:17 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-07-27 00:54:17 +0000
commitce117b07c5543d05ffccb8093b42389d5821314e (patch)
tree5eb1dde20603f9e6b73eb8144cbbb9e1e9dd21d1
parentc3ab5117c913fea441206316568e8f201cf858bd (diff)
downloadbcm5719-llvm-ce117b07c5543d05ffccb8093b42389d5821314e.tar.gz
bcm5719-llvm-ce117b07c5543d05ffccb8093b42389d5821314e.zip
Fixed missing checkin.
llvm-svn: 187282
-rw-r--r--clang-tools-extra/test/modularize/Inputs/InconsistentSubHeader.h7
1 files changed, 7 insertions, 0 deletions
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
OpenPOWER on IntegriCloud