summaryrefslogtreecommitdiffstats
path: root/test/input/Namespace-Class-partial-template-members.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-11 17:24:34 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-11 17:28:04 (GMT)
commitc785d1821c39fb02fb394d65af4d6065a594391b (patch)
treefabfe6474a94eaa79a7596791f7bfafc02ab7b71 /test/input/Namespace-Class-partial-template-members.cxx
parentaeb49468598774f683f1bc8bb50bd0e301a80fa3 (diff)
downloadCastXML-c785d1821c39fb02fb394d65af4d6065a594391b.zip
CastXML-c785d1821c39fb02fb394d65af4d6065a594391b.tar.gz
CastXML-c785d1821c39fb02fb394d65af4d6065a594391b.tar.bz2
Output: Drop class template partial specializations from output
Since gccxml format does not support uninstantiated templates we must not output any partial specializations either. Skip class template partial specializations when traversing context members. Desugar non-dependent typedef members of class template partial specializations.
Diffstat (limited to 'test/input/Namespace-Class-partial-template-members.cxx')
-rw-r--r--test/input/Namespace-Class-partial-template-members.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/input/Namespace-Class-partial-template-members.cxx b/test/input/Namespace-Class-partial-template-members.cxx
new file mode 100644
index 0000000..0c220c9
--- /dev/null
+++ b/test/input/Namespace-Class-partial-template-members.cxx
@@ -0,0 +1,7 @@
+namespace start {
+ template <typename T> class A;
+ template <typename T> class A<T&> {
+ static int data;
+ };
+ template <typename T> int A<T&>::data;
+}