summaryrefslogtreecommitdiffstats
path: root/test/input/Class-partial-template-member-Typedef.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-11 17:48:32 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-11 19:42:40 (GMT)
commit6feeb4e7dfb7cf79fadc06f9184924810668110a (patch)
treeb52b0f6ba38d57e5005aa650310c5f06327edc32 /test/input/Class-partial-template-member-Typedef.cxx
parent64e1b8d174f98704b6a6704cdc3fa7ba5c7354e5 (diff)
downloadCastXML-6feeb4e7dfb7cf79fadc06f9184924810668110a.zip
CastXML-6feeb4e7dfb7cf79fadc06f9184924810668110a.tar.gz
CastXML-6feeb4e7dfb7cf79fadc06f9184924810668110a.tar.bz2
test: Improve class template member typedef test cases
Reference the template parameter type as the typedef'd type.
Diffstat (limited to 'test/input/Class-partial-template-member-Typedef.cxx')
-rw-r--r--test/input/Class-partial-template-member-Typedef.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/input/Class-partial-template-member-Typedef.cxx b/test/input/Class-partial-template-member-Typedef.cxx
index ad72b49..f4bbf0a 100644
--- a/test/input/Class-partial-template-member-Typedef.cxx
+++ b/test/input/Class-partial-template-member-Typedef.cxx
@@ -1,7 +1,7 @@
template <typename T> class start;
template <typename T> class start<T&> {
- typedef int Int;
+ typedef T Int;
public:
- int method(Int);
+ T method(Int);
};
template class start<int&>;