summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2017-12-24 16:31:10 +0100
committerJakob Lykke Andersen <Jakob@caput.dk>2017-12-24 16:31:10 +0100
commit9766c2f339b2f5f16e1e66458d35651c8a7d6272 (patch)
tree73adfc0caa25fa88be74a2e46394f79e9220591f /tests/test_domain_cpp.py
parenta9efb2517a0ccbd932f7e6be3e8984d78dc763b8 (diff)
downloadsphinx-git-9766c2f339b2f5f16e1e66458d35651c8a7d6272.tar.gz
C++, support the template disambiguator for dependent names.
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r--tests/test_domain_cpp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py
index aed574daf..aa398370d 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -243,6 +243,8 @@ def test_type_definitions():
{1: 'gpio_callback_t', 2: '15gpio_callback_t'})
check('type', 'void (*f)(std::function<void(int i)> g)', {1: 'f', 2: '1f'})
+ check('type', 'T = A::template B<int>::template C<double>', {2: '1T'})
+
def test_concept_definitions():
check('concept', 'template<typename Param> A::B::Concept',