aboutsummaryrefslogtreecommitdiffstats
path: root/test/Modules/Inputs/submodule-visibility/b.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/submodule-visibility/b.h')
-rw-r--r--test/Modules/Inputs/submodule-visibility/b.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Modules/Inputs/submodule-visibility/b.h b/test/Modules/Inputs/submodule-visibility/b.h
index 67ef6529dbd8..39df6a02cb40 100644
--- a/test/Modules/Inputs/submodule-visibility/b.h
+++ b/test/Modules/Inputs/submodule-visibility/b.h
@@ -4,7 +4,11 @@ int m = n;
#include "c.h"
#if defined(A) && !defined(ALLOW_NAME_LEAKAGE)
-#error A is defined
+#warning A is defined
#endif
#define B
+
+template<typename T> void b_template() {
+ N::C::f(0);
+}