aboutsummaryrefslogtreecommitdiff
path: root/test/ASTMerge/Inputs/class-template1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/Inputs/class-template1.cpp')
-rw-r--r--test/ASTMerge/Inputs/class-template1.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/class-template1.cpp b/test/ASTMerge/Inputs/class-template1.cpp
index 0f40309160..440b5abfc8 100644
--- a/test/ASTMerge/Inputs/class-template1.cpp
+++ b/test/ASTMerge/Inputs/class-template1.cpp
@@ -19,3 +19,16 @@ struct X5;
template<typename>
struct X6;
+extern X0<int> *x0i;
+extern X0<long> *x0l;
+extern X0<float> *x0r;
+
+template<>
+struct X0<char> {
+ int member;
+};
+
+template<>
+struct X0<wchar_t> {
+ int member;
+};