solidity/test/libsolidity/ABIJson/internal_constructor.sol

10 lines
159 B
Solidity
Raw Normal View History

// bug #8712
2020-06-23 12:14:24 +00:00
abstract contract B {
uint immutable x;
2020-06-23 12:14:24 +00:00
constructor(function() internal returns(uint) fp) {
x = fp(); }
}
// ----
// :B
// []