mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
355 B
Solidity
13 lines
355 B
Solidity
// Exception for the rule about illegal names.
|
|
contract C {
|
|
function this() public {
|
|
}
|
|
function super() public {
|
|
}
|
|
function _() public {
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 2319: (61-88='function this() public { }'): This declaration shadows a builtin symbol.
|
|
// Warning 2319: (90-118='function super() public { }'): This declaration shadows a builtin symbol.
|