diff options
author | Patrick Palka <ppalka@redhat.com> | 2021-03-30 22:54:37 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2021-03-30 22:54:37 -0400 |
commit | 0bbf0edbfc782f8e4e416d5fbd1b52a515adb585 (patch) | |
tree | aeb995df7e895e1883c7959b486e5faf33d3f00b /libiberty | |
parent | 08d2edae5d84209c0dcf327a13d4f6b4eacdb1ac (diff) |
c++: placeholder type constraint and argument pack [PR99815]
When checking dependence of a placeholder type constraint, if the first
template argument of the constraint is an argument pack, we need to
expand it in order to properly separate the implicit 'auto' argument
from the rest.
gcc/cp/ChangeLog:
PR c++/99815
* pt.c (placeholder_type_constraint_dependent_p): Expand
argument packs to separate the first non-pack argument
from the rest.
gcc/testsuite/ChangeLog:
PR c++/99815
* g++.dg/cpp2a/concepts-placeholder5.C: New test.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions