solidity/test/libsolidity/semanticTests/structs/lone_struct_array_type.sol

17 lines
264 B
Solidity
Raw Normal View History

contract C {
struct s {
uint256 a;
uint256 b;
}
function f() public returns (uint256) {
s[7][]; // This is only the type, should not have any effect
return 3;
}
}
// ====
// compileViaYul: also
// ----
// f() -> 3