Re: [PATCH] c++: Add testcase for DR 2728

2024-09-25 Thread Jason Merrill
On 9/25/24 9:57 AM, Jakub Jelinek wrote: Hi! Seems we already handle delete expressions the way the DR clarifies, so this patch just adds a testcase which verifies that. Tested on x86_64-linux, ok for trunk? OK. 2024-09-25 Jakub Jelinek * g++.dg/DRs/dr2728.C: New test. --- gcc/

[PATCH] c++: Add testcase for DR 2728

2024-09-25 Thread Jakub Jelinek
Hi! Seems we already handle delete expressions the way the DR clarifies, so this patch just adds a testcase which verifies that. Tested on x86_64-linux, ok for trunk? 2024-09-25 Jakub Jelinek * g++.dg/DRs/dr2728.C: New test. --- gcc/testsuite/g++.dg/DRs/dr2728.C.jj2024-09-25