https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100901
Bug ID: 100901
Summary: "error: array used as initializer" on compiling
coroutine with initializer list with shared_ptr in it
Product: gcc
Version: 12.0
Status: UNCONFIR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100901
--- Comment #1 from Alexander Briukhanov ---
: In function 'testing demo()':
:20:1: error: array used as initializer
20 | }
| ^
:20:1: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have arra