summaryrefslogtreecommitdiffstats
path: root/test/input/Class-member-template.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/Class-member-template.cxx')
-rw-r--r--test/input/Class-member-template.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/input/Class-member-template.cxx b/test/input/Class-member-template.cxx
new file mode 100644
index 0000000..8ffb3d6
--- /dev/null
+++ b/test/input/Class-member-template.cxx
@@ -0,0 +1,4 @@
+class start {
+ template <typename T> T method(T v) { return v; }
+};
+template int start::method<int>(int); // instantiation