aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/controlFlow/storageReturn/emptyReturn_fine.sol
blob: 6d72e4ef612d86c9bbf334c4f790d5d56559272f (plain) (blame)
1
2
3
4
5
6
7
contract C {
    struct S { bool f; }
    S s;
    function f() internal view returns (S storage c, S storage d) { c = s; d = s; return; }
    function g() internal view returns (S storage, S storage) { return (s,s); }
}
// ----