aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/address_to_contract.sol
blob: 629a3df041e02535f1683cc2e8c3c4a0d3e63af3 (plain) (blame)
1
2
3
4
5
6
contract C {
  function f() public pure returns (C c) {
    c = C(address(2));
  }
}
// ----