mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
4 lines
202 B
Solidity
4 lines
202 B
Solidity
|
contract test { struct s {uint a;} s x; s y; function() public { x == y; } }
|
||
|
// ----
|
||
|
// TypeError: (65-71): Operator == not compatible with types struct test.s storage ref and struct test.s storage ref
|