1 2 3 4 5 6 7 8 9 10 11
struct X { int i; }; struct X f() { struct X x = {}; return x; } int main() { f().i = 1; } #pragma cake diagnostic check "-E1230"