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

6 lines
254 B
Solidity
Raw Normal View History

2019-08-16 13:12:26 +00:00
==== Source: a ====
contract A {} contract B {} contract C { struct S { uint a; } }
==== Source: b ====
import "a" as x; import {B as b, C as c, C} from "a";
contract D is b { function f(c.S memory var1, x.C.S memory var2, C.S memory var3) internal {} }