2018-05-30 16:41:34 +00:00
|
|
|
contract receiver { function nopay() public {} }
|
|
|
|
contract test {
|
|
|
|
function f() public { (new receiver()).nopay.value(10)(); }
|
|
|
|
}
|
|
|
|
// ----
|
2019-02-12 15:09:16 +00:00
|
|
|
// TypeError: (91-119): Member "value" is only available for payable functions.
|