diff options
| author | Jakob Lykke Andersen <Jakob@caput.dk> | 2017-11-30 23:06:30 +0100 |
|---|---|---|
| committer | Jakob Lykke Andersen <Jakob@caput.dk> | 2017-12-01 20:07:35 +0100 |
| commit | 0ff217e1b277db4d93a0f25e03ec5add0d570586 (patch) | |
| tree | 029c8e45a332288b2f978da7cc48e069dfcc43a3 /tests/test_domain_cpp.py | |
| parent | eff13bc4c457c0a9809952c751d62435803e79b9 (diff) | |
| download | sphinx-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.py | 4 |
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"}) |
