diff options
author | Brad King <brad.king@kitware.com> | 2014-03-27 16:57:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-27 16:57:40 (GMT) |
commit | f2d0fdfe812c7f96d8193194a5840ff011aa7ec8 (patch) | |
tree | 6d9ef52592f16ebe5c700bdf33ecfacc4c46eecb /test/input | |
parent | beea56e5aedd3b41a674d6ea548d34d428fa2678 (diff) | |
download | CastXML-f2d0fdfe812c7f96d8193194a5840ff011aa7ec8.zip CastXML-f2d0fdfe812c7f96d8193194a5840ff011aa7ec8.tar.gz CastXML-f2d0fdfe812c7f96d8193194a5840ff011aa7ec8.tar.bz2 |
Output: Desugar non-dependent typedef members of class templates
Since gccxml does not output uninstantiated templates we must desugar
typedef types that would refer to declarations whose context is a
template. This is consistent with gccxml behavior.
Diffstat (limited to 'test/input')
-rw-r--r-- | test/input/Class-template-member-Typedef.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/input/Class-template-member-Typedef.cxx b/test/input/Class-template-member-Typedef.cxx new file mode 100644 index 0000000..61db52d --- /dev/null +++ b/test/input/Class-template-member-Typedef.cxx @@ -0,0 +1,6 @@ +template <typename T> class start { + typedef int Int; +public: + int method(Int); +}; +template class start<int>; |