summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-09-12 21:07:09 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-09-12 21:07:09 +0000
commit7707c4a109334e015e158a6ce40c9d3638e757d9 (patch)
treed5d55b1b8ce5b683eceea003e169600e26b2393b
parent6561f92b6237b17006a4b25f72a0085972b7765a (diff)
downloadbcm5719-llvm-7707c4a109334e015e158a6ce40c9d3638e757d9.tar.gz
bcm5719-llvm-7707c4a109334e015e158a6ce40c9d3638e757d9.zip
Add a couple of test files missed in r281258.
llvm-svn: 281259
-rw-r--r--clang/test/Modules/Inputs/merge-template-pattern-visibility/c.h9
-rw-r--r--clang/test/Modules/Inputs/merge-template-pattern-visibility/d.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/merge-template-pattern-visibility/c.h b/clang/test/Modules/Inputs/merge-template-pattern-visibility/c.h
new file mode 100644
index 00000000000..db80eda1ea6
--- /dev/null
+++ b/clang/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) {}
+}
+
diff --git a/clang/test/Modules/Inputs/merge-template-pattern-visibility/d.h b/clang/test/Modules/Inputs/merge-template-pattern-visibility/d.h
new file mode 100644
index 00000000000..464f0f5bbed
--- /dev/null
+++ b/clang/test/Modules/Inputs/merge-template-pattern-visibility/d.h
@@ -0,0 +1 @@
+// d.h: empty
OpenPOWER on IntegriCloud