2018-04-12 12:57:14 +00:00
|
|
|
contract C {
|
|
|
|
function f() returns(var) {}
|
|
|
|
function f() returns(var x) {}
|
2018-04-12 13:10:11 +00:00
|
|
|
function f() returns(var x, uint y) {}
|
|
|
|
function f() returns(uint x, var y) {}
|
|
|
|
function f() returns(var x, var y) {}
|
2018-04-12 12:57:14 +00:00
|
|
|
function f() public pure returns (var storage) {}
|
|
|
|
function f() public pure returns (var storage x) {}
|
2018-04-12 13:10:11 +00:00
|
|
|
function f() public pure returns (var storage x, var storage y) {}
|
2018-04-12 12:57:14 +00:00
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// ParserError 7059: (38-41): Expected explicit type name.
|
|
|
|
// ParserError 7059: (71-74): Expected explicit type name.
|
|
|
|
// ParserError 7059: (106-109): Expected explicit type name.
|
|
|
|
// ParserError 7059: (157-160): Expected explicit type name.
|
|
|
|
// ParserError 7059: (192-195): Expected explicit type name.
|
|
|
|
// ParserError 7059: (199-202): Expected explicit type name.
|
|
|
|
// ParserError 7059: (247-250): Expected explicit type name.
|
|
|
|
// ParserError 7439: (251-258): Location specifier needs explicit type name.
|
|
|
|
// ParserError 7059: (301-304): Expected explicit type name.
|
|
|
|
// ParserError 7439: (305-312): Location specifier needs explicit type name.
|
|
|
|
// ParserError 7059: (357-360): Expected explicit type name.
|
|
|
|
// ParserError 7439: (361-368): Location specifier needs explicit type name.
|
|
|
|
// ParserError 7059: (372-375): Expected explicit type name.
|
|
|
|
// ParserError 7439: (376-383): Location specifier needs explicit type name.
|