diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-03-04 19:57:13 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-03-04 19:57:13 +0100 |
commit | f0103f7bb010405798fe14afc5972f327835ae57 (patch) | |
tree | fb7a50e5c8217a9d5958492b77333d7ea47a78ab /gcc/hooks.c | |
parent | 209cd3bd47287d4dabb94a7c2ce965588fd0389d (diff) | |
download | gcc-f0103f7bb010405798fe14afc5972f327835ae57.zip gcc-f0103f7bb010405798fe14afc5972f327835ae57.tar.gz gcc-f0103f7bb010405798fe14afc5972f327835ae57.tar.bz2 |
re PR c++/71446 (Incorrect overload resolution when using designated initializers)
PR c++/71446
* call.c (field_in_pset): New function.
(build_aggr_conv): Handle CONSTRUCTOR_IS_DESIGNATED_INIT correctly.
* g++.dg/cpp2a/desig12.C: New test.
* g++.dg/cpp2a/desig13.C: New test.
From-SVN: r269371
Diffstat (limited to 'gcc/hooks.c')
0 files changed, 0 insertions, 0 deletions