]> git.ipfire.org Git - thirdparty/gcc.git/commit
cp/coroutines: add a test for PR c++/103953
authorArsen Arsenović <arsen@aarsen.me>
Tue, 23 Jul 2024 11:01:03 +0000 (13:01 +0200)
committerArsen Arsenović <arsen@gcc.gnu.org>
Tue, 23 Jul 2024 14:23:20 +0000 (16:23 +0200)
commit826134760c49518d97769c8bb7ecbc264b78cac9
treea4cc7b8ecb9320873abb1a78ac006b16aa193c7d
parentb95c82d60c8c88f6346c5602f2e22a4531afe47c
cp/coroutines: add a test for PR c++/103953

This PR seems to have been fixed by a fix for a seemingly unrelated PR.
Lets add a regression test to make sure it stays fixed.

PR c++/103953 - Leak of coroutine return object

PR c++/103953

gcc/testsuite/ChangeLog:

* g++.dg/coroutines/torture/pr103953.C: New test.

Reviewed-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/testsuite/g++.dg/coroutines/torture/pr103953.C [new file with mode: 0644]