Support multiple sources for syntax tests.

This commit is contained in:
Daniel Kirchner
2019-08-19 14:45:26 +02:00
committed by chriseth
parent 95d426bd88
commit 6ed219ebe8
13 changed files with 191 additions and 51 deletions
@@ -0,0 +1,10 @@
==== Source: A ====
contract A {
function g(uint256 x) public view returns(uint256) { return x; }
}
==== Source: B ====
contract B is A {
function f(uint256 x) public view returns(uint256) { return x; }
}
// ----
// DeclarationError: (B:14-15): Identifier not found or not unique.