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

9 lines
120 B
Solidity

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