solidity/test/libsolidity/syntaxTests/structs/global_struct.sol
2021-04-20 17:38:29 +02:00

8 lines
112 B
Solidity

struct S { uint a; }
contract C {
function f() public pure {
S memory s = S(42);
s;
}
}