solidity/test/libsolidity/errorRecoveryTests/missing_rhs.sol

12 lines
236 B
Solidity
Raw Normal View History

pragma solidity >=0.0.0;
contract Error3 {
2020-06-23 12:14:24 +00:00
constructor() {
balances[tx.origin] = ; // missing RHS.
}
}
// ----
2020-06-23 12:14:24 +00:00
// ParserError 6933: (88-89): Expected primary expression.
// Warning 3347: (88-89): Recovered in Statement at ';'.