solidity/test/libsolidity/semanticTests/libraries/library_struct_as_an_expression.sol
2020-03-19 14:42:25 +01:00

18 lines
212 B
Solidity

library Arst {
struct Foo {
int256 Things;
int256 Stuff;
}
}
contract Tsra {
function f() public returns (uint256) {
Arst.Foo;
return 1;
}
}
// ----
// f() -> 1