solidity/test/libsolidity/syntaxTests/freeFunctions/function_same_name_as_contract.sol

5 lines
102 B
Solidity
Raw Normal View History

2020-05-04 16:38:00 +00:00
contract C {}
function C() {}
// ----
// DeclarationError 2333: (14-29): Identifier already declared.