solidity/test/libsolidity/syntaxTests/imports/shadowing_builtins_with_multiple_imports.sol

12 lines
412 B
Solidity
Raw Normal View History

2019-08-16 13:12:26 +00:00
==== Source: B.sol ====
contract msg {} contract block{}
==== Source: b ====
import {msg, block} from "B.sol";
contract C {
}
// ----
// Warning: (B.sol:0-15): This declaration shadows a builtin symbol.
// Warning: (B.sol:16-32): This declaration shadows a builtin symbol.
// Warning: (B.sol:0-15): This declaration shadows a builtin symbol.
// Warning: (B.sol:16-32): This declaration shadows a builtin symbol.