mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
158 B
Solidity
9 lines
158 B
Solidity
contract C {
|
|
function f() public pure {}
|
|
}
|
|
function fun() {
|
|
C.f();
|
|
}
|
|
// ----
|
|
// TypeError 3419: (68-73): Cannot call function via contract type name.
|