summaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/merge-template-pattern-visibility/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/merge-template-pattern-visibility/c.h')
-rw-r--r--test/Modules/Inputs/merge-template-pattern-visibility/c.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Modules/Inputs/merge-template-pattern-visibility/c.h b/test/Modules/Inputs/merge-template-pattern-visibility/c.h
new file mode 100644
index 000000000000..db80eda1ea6d
--- /dev/null
+++ b/test/Modules/Inputs/merge-template-pattern-visibility/c.h
@@ -0,0 +1,9 @@
+namespace CrossModuleMerge {
+ template<typename, typename = int> struct A;
+ template<typename T> struct B;
+
+ template<typename, typename> struct A {};
+ template<typename T> struct B : A<T> {};
+ template<typename T> inline auto C(T) {}
+}
+