Move some parser tests to syntax tests

This commit is contained in:
Alex Beregszaszi
2018-05-02 21:21:11 +01:00
parent 5cce2e552b
commit 07e765a2f1
30 changed files with 183 additions and 319 deletions
@@ -0,0 +1,10 @@
contract test {
uint256 stateVar;
function functionName(bytes20 arg1, address addr) constant returns (int id) { }
}
// ----
// Warning: (36-115): No visibility specified. Defaulting to "public".
// Warning: (58-70): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (72-84): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (104-110): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (36-115): Function state mutability can be restricted to pure