update tests

This commit is contained in:
Alex Beregszaszi 2020-11-09 23:38:08 +00:00 committed by chriseth
parent 61ed1f1986
commit a9be2e4bb8
7 changed files with 7 additions and 7 deletions

View File

@ -7,4 +7,4 @@ contract C {
}
}
// ----
// ParserError 7104: (118-119): Builtin function "mload" must be called.
// ParserError 7104: (104-109): Builtin function "mload" must be called.

View File

@ -2,4 +2,4 @@
function f(x) { f(add) }
}
// ----
// ParserError 7104: (24-25): Builtin function "add" must be called.
// ParserError 7104: (21-24): Builtin function "add" must be called.

View File

@ -2,4 +2,4 @@
for {} mload {} {}
}
// ----
// ParserError 7104: (16-17): Builtin function "mload" must be called.
// ParserError 7104: (10-15): Builtin function "mload" must be called.

View File

@ -2,4 +2,4 @@
let x := byte
}
// ----
// ParserError 7104: (20-21): Builtin function "byte" must be called.
// ParserError 7104: (15-19): Builtin function "byte" must be called.

View File

@ -2,4 +2,4 @@
if mload {}
}
// ----
// ParserError 7104: (15-16): Builtin function "mload" must be called.
// ParserError 7104: (9-14): Builtin function "mload" must be called.

View File

@ -2,4 +2,4 @@
if calldatasize {}
}
// ----
// ParserError 7104: (22-23): Builtin function "calldatasize" must be called.
// ParserError 7104: (9-21): Builtin function "calldatasize" must be called.

View File

@ -4,4 +4,4 @@
default {}
}
// ----
// ParserError 7104: (23-27): Builtin function "mload" must be called.
// ParserError 7104: (13-18): Builtin function "mload" must be called.