pragma solidity >=0.5.0;
contract A {
constructor() public payable {}
}
contract B {
A a;
constructor() public payable {
a = (new A).value(msg.value)();
}
}
Gives
$ solc-verify.py issue.sol --output .
Error while running verifier, details:
Parsing ./issue.sol.bpl
./issue.sol.bpl(44,1): Error: wrong number of result variables in call to __constructor#6: 1
1 name resolution errors detected in ./issue.sol.bpl
Gives