mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
208 B
Solidity
8 lines
208 B
Solidity
|
interface I {
|
||
|
function f() public {
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (18-45): Functions in interfaces cannot have an implementation.
|
||
|
// Warning: (18-45): Functions in interfaces should be declared external.
|