test: drop obsoleted syntaxTest(s)

This commit is contained in:
Christian Parpart 2018-06-25 15:25:58 +02:00
parent 4be9dc4304
commit a083ccd457
2 changed files with 0 additions and 19 deletions

View File

@ -1,8 +0,0 @@
contract C {
function f() internal returns (uint, uint, uint, uint) {
var (uint a, uint b,,) = f();
a; b;
}
}
// ----
// ParserError: (81-85): Expected identifier but got 'uint'

View File

@ -1,11 +0,0 @@
contract C {
function f() public { }
function g() public {
var (x,) = (f(), f());
}
}
// ----
// Warning: (80-81): Use of the "var" keyword is deprecated.
// Warning: (87-90): Tuple component cannot be empty.
// Warning: (92-95): Tuple component cannot be empty.
// TypeError: (80-81): Cannot declare variable with void (empty tuple) type.