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

10 lines
182 B
Solidity

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