aboutsummaryrefslogtreecommitdiffstats
path: root/test/Modules/Inputs/submodule-visibility/other.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/submodule-visibility/other.h')
-rw-r--r--test/Modules/Inputs/submodule-visibility/other.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Modules/Inputs/submodule-visibility/other.h b/test/Modules/Inputs/submodule-visibility/other.h
index f40c757ca62e..4b68c489153c 100644
--- a/test/Modules/Inputs/submodule-visibility/other.h
+++ b/test/Modules/Inputs/submodule-visibility/other.h
@@ -1 +1,10 @@
#include "c.h"
+
+#ifndef OTHER_H
+#define OTHER_H
+namespace N {
+ struct C {
+ template<typename U> static void f(U) {}
+ };
+}
+#endif