mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
462 B
Solidity
18 lines
462 B
Solidity
function this() {}
|
|
function super() {}
|
|
function _() {}
|
|
|
|
contract C {
|
|
function test() public {
|
|
this();
|
|
super();
|
|
_();
|
|
}
|
|
}
|
|
// ----
|
|
// DeclarationError 3726: (0-18): The name "this" is reserved.
|
|
// DeclarationError 3726: (19-38): The name "super" is reserved.
|
|
// DeclarationError 3726: (39-54): The name "_" is reserved.
|
|
// Warning 2319: (0-18): This declaration shadows a builtin symbol.
|
|
// Warning 2319: (19-38): This declaration shadows a builtin symbol.
|