solidity/test/libsolidity/syntaxTests/parsing/new_invalid_type_name.sol
2018-05-02 21:21:11 +01:00

8 lines
107 B
Solidity

contract C {
function f() {
new var;
}
}
// ----
// ParserError: (35-35): Expected explicit type name.