solidity/test/libsolidity/syntaxTests/functionTypes/delete_external_function_type_invalid.sol
2018-04-11 22:00:04 +02:00

8 lines
133 B
Solidity

contract C {
function f() public {
delete this.f;
}
}
// ----
// TypeError: (54-60): Expression has to be an lvalue.