[Bug c++/100901] New: "error: array used as initializer" on compiling coroutine with initializer list with shared_ptr in it

2021-06-04 Thread greed at ispsystem dot com via Gcc-bugs
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

[Bug c++/100901] "error: array used as initializer" on compiling coroutine with initializer list with shared_ptr in it

2021-06-04 Thread greed at ispsystem dot com via Gcc-bugs
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