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