aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/237_cyclic_binary_dependency_via_inheritance.sol
blob: 00ee536ec3562d2ea726141dff823f04337658fe (plain) (tree)
1
2
3
4
5




                                                                                       
contract A is B { }
contract B { function f() public { new C(); } }
contract C { function f() public { new A(); } }
// ----
// TypeError: (14-15): Definition of base has to precede definition of derived contract