solidity/test/libsolidity/syntaxTests/structs/global_struct.sol
2019-09-02 11:17:42 +02:00

7 lines
111 B
Solidity

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