Workaround token issue in unnamed variadic template parameter
This commit is contained in:
parent
365677b2c9
commit
133d51b630
2 changed files with 16 additions and 2 deletions
|
|
@ -209,7 +209,7 @@ using b = void;
|
|||
template <template <int> class C = ns::def>
|
||||
using c = void;
|
||||
|
||||
template <template <template <typename> class> class D = a>
|
||||
template <template <template <typename...> class> class D = a>
|
||||
using d = void;
|
||||
)";
|
||||
|
||||
|
|
@ -309,6 +309,7 @@ using d = void;
|
|||
++no;
|
||||
REQUIRE(p_p_param.name() == "");
|
||||
REQUIRE(p_p_param.kind() == cpp_entity_kind::template_type_parameter_t);
|
||||
REQUIRE(p_p_param.is_variadic());
|
||||
}
|
||||
}
|
||||
REQUIRE(no == 2u);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue