mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
311 B
Solidity
16 lines
311 B
Solidity
contract C {
|
|
function f() internal {
|
|
}
|
|
function g() internal {
|
|
g = f;
|
|
}
|
|
function h() external {
|
|
}
|
|
function i() external {
|
|
this.i = this.h;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (83-84): Expression has to be an lvalue.
|
|
// TypeError: (166-172): Expression has to be an lvalue.
|