mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
160 B
Solidity
7 lines
160 B
Solidity
|
contract test {
|
||
|
function fun() public { }
|
||
|
function fun() public { }
|
||
|
}
|
||
|
// ----
|
||
|
// DeclarationError: Function with same name and arguments defined twice.
|