summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2017-11-30 23:06:30 +0100
committerJakob Lykke Andersen <Jakob@caput.dk>2017-12-01 20:07:35 +0100
commit0ff217e1b277db4d93a0f25e03ec5add0d570586 (patch)
tree029c8e45a332288b2f978da7cc48e069dfcc43a3 /tests/test_domain_cpp.py
parenteff13bc4c457c0a9809952c751d62435803e79b9 (diff)
downloadsphinx-git-0ff217e1b277db4d93a0f25e03ec5add0d570586.tar.gz
C++, fix hyperlinking of nested names
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r--tests/test_domain_cpp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py
index 8c838fcf8..4183fa471 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -508,6 +508,10 @@ def test_templates():
check('class', "template<typename T = Test> A", {2:"I0E1A"})
check('class', "template<template<typename> typename T> A", {2:"II0E0E1A"})
+ check('class', "template<template<typename> typename> A", {2: "II0E0E1A"})
+ check('class', "template<template<typename> typename ...T> A", {2:"II0EDpE1A"})
+ check('class', "template<template<typename> typename...> A", {2: "II0EDpE1A"})
+
check('class', "template<int> A", {2:"I_iE1A"})
check('class', "template<int T> A", {2:"I_iE1A"})
check('class', "template<int... T> A", {2:"I_DpiE1A"})