| 1 | const Foo = struct { |
| 2 | field: i32, |
| 3 | }; |
| 4 | const x = Foo{ .field = 1 } + Foo{ .field = 2 }; |
| 5 | |
| 6 | export fn entry() usize { |
| 7 | return @sizeOf(@TypeOf(x)); |
| 8 | } |
| 9 | |
| 10 | // error |
| 11 | // |
| 12 | // :4:29: error: invalid operands to binary expression: 'struct' and 'struct' |