Commit Graph

1 Commits

Author SHA1 Message Date
Chuanqi Xu 495419628b [NFC] Add test of sized deallocation for coroutines
[dcl.fct.def.coroutine]p12 says:

> If both a usual deallocation function with only a pointer parameter
> and a usual deallocation function with both a pointer parameter and a
> size parameter are found, then the selected deallocation function
> shall be the one with two parameters.

However, the sized deallocation function is disabled by default for ABI
reasons. This leads the sentence never get tested and covered. This
commit tries to add a test for it
2022-09-06 14:44:16 +08:00