https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80243

--- Comment #1 from Jim Michaels <jmichae3 at yahoo dot com> ---
#include <string>
#include <initializer_list>
typedef struct {std::string s;int i;} Structsb;
Structsb fn(std::string s1, int i1) {
    return {s1,i1};
}
int main() {}
Structsb structsb=fn("string",1);
return strustsb.i;
}

Reply via email to