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

7 lines
169 B
Solidity

==== Source: B.sol ====
contract C {}
==== Source: b ====
import {C as msg} from "B.sol";
// ----
// Warning 2319: (b:13-16): This declaration shadows a builtin symbol.