mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
354 B
Solidity
13 lines
354 B
Solidity
// bug #1798 (cpp-ethereum), related to #1286 (solidity)
|
|
contract attribute {
|
|
bool ok = false;
|
|
}
|
|
contract func {
|
|
function ok() public returns (bool) { return true; }
|
|
}
|
|
contract attr_func is attribute, func {
|
|
function checkOk() public returns (bool) { return ok(); }
|
|
}
|
|
// ----
|
|
// DeclarationError 9097: (121-173): Identifier already declared.
|