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

8 lines
189 B
Solidity
Raw Normal View History

2020-07-09 12:39:05 +00:00
==== Source: a ====
contract A { }
==== Source: b ====
import {C} from "a";
contract B { }
// ----
// DeclarationError 2904: (b:0-20): Declaration "C" not found in "a" (referenced as "a").