#include <iostream>
using namespace std;
struct Foo { int x{}; };
Foo MakeFoo() { return {}; }
int main() {
// decltype(bar) != Foo, but something else...
auto bar(MakeFoo());
bar.x = 42;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCnN0cnVjdCBGb28geyBpbnQgeHt9OyB9OwoKRm9vIE1ha2VGb28oKSB7IHJldHVybiB7fTsgfQogCmludCBtYWluKCkgewoJLy8gZGVjbHR5cGUoYmFyKSAhPSBGb28sIGJ1dCBzb21ldGhpbmcgZWxzZS4uLgoJYXV0byBiYXIoTWFrZUZvbygpKTsKCWJhci54ID0gNDI7CglyZXR1cm4gMDsKfQ==