solidity/test/libsolidity/syntaxTests/controlFlow/storageReturn/emptyReturn_fine.sol

7 lines
149 B
Solidity
Raw Normal View History

contract C {
struct S { bool f; }
S s;
function f() internal view returns (S storage c, S storage d) { c = s; d = s; return; }
}
// ----