solidity/test/libsolidity/syntaxTests/parsing/tuples_without_commas.sol

8 lines
120 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
contract C {
function f() {
2020-07-15 17:50:59 +00:00
uint a = (2 2);
2018-05-02 19:49:59 +00:00
}
}
// ----
2020-07-15 17:50:59 +00:00
// ParserError 2314: (43-44): Expected ',' but got 'Number'