solidity/test/libsolidity/syntaxTests/structs/global_struct.sol

7 lines
111 B
Solidity
Raw Normal View History

2019-08-15 13:35:57 +00:00
struct S { uint a; }
contract C {
function f() public pure {
S memory s = S(42);
s;
}
}