solidity/test/libsolidity/syntaxTests/inlineAssembly/shadowing/no_name_clash_in_import.sol

15 lines
208 B
Solidity
Raw Normal View History

==== Source: a ====
contract A
{
uint constant a = 42;
}
==== Source: b ====
import {A as b} from "a";
contract B {
function f() public pure {
assembly {
let A := 1
}
}
}