solidity/test/libsolidity/errorRecoveryTests/missing_rhs.sol

12 lines
243 B
Solidity
Raw Normal View History

pragma solidity >=0.0.0;
contract Error3 {
constructor() public {
balances[tx.origin] = ; // missing RHS.
}
}
// ----
// ParserError 6933: (95-96): Expected primary expression.
// Warning 3347: (95-96): Recovered in Statement at ';'.