solidity/test/libsolidity/syntaxTests/functionCalls/module_not_callable.sol

10 lines
173 B
Solidity
Raw Normal View History

==== Source: A.sol ====
==== Source: B.sol ====
import "A.sol" as A;
contract C {
uint a = A(1000);
}
// ----
// TypeError 5704: (B.sol:48-55): Module is not callable.