Trivial isoltest updates: missing // ---- at the end

This commit is contained in:
Alex Beregszaszi
2021-04-20 17:38:29 +02:00
committed by Kamil Śliwak
parent 84c05d35f3
commit 1be07c2b36
613 changed files with 613 additions and 0 deletions
@@ -2,3 +2,4 @@
let x:u256 := 2:u256
let y:u256 := x
}
// ----
+1
View File
@@ -7,3 +7,4 @@
let z:u256 := 2:u256
}
}
// ----
@@ -13,3 +13,4 @@
}
// ====
// dialect: yul
// ----
+1
View File
@@ -1,3 +1,4 @@
{
pop(mul(7, 8))
}
// ----
@@ -3,3 +3,4 @@
}
// ====
// dialect: evm
// ----
@@ -4,3 +4,4 @@
}
// ====
// dialect: evm
// ----
@@ -6,3 +6,4 @@
x()
}
}
// ----
@@ -15,3 +15,4 @@
{ function f() { g() } function g() { f() } }
{ function f(a) -> b {} function g(a, b, c) {} function x() { g(1, 2, f(mul(2, 3))) x() } }
}
// ----
@@ -2,3 +2,4 @@
function f(a, d) { }
function g(a, d) -> x, y { }
}
// ----
@@ -1,3 +1,4 @@
{
for { } 1:bool { function f() {} } {}
}
// ----
@@ -1,3 +1,4 @@
{
for { } 1:bool {} { function f() {} }
}
// ----
@@ -5,3 +5,4 @@
} 1:bool {}
{}
}
// ----
@@ -5,3 +5,4 @@
function g() { }
function h(a) -> x { }
}
// ----
@@ -2,3 +2,4 @@
function f() { }
function g(a:u256) -> x:u256 { }
}
// ----
@@ -5,3 +5,4 @@
}
let x := f(2, 3)
}
// ----
@@ -2,3 +2,4 @@
{ let x:u256 }
function f() -> x:u256 {}
}
// ----
@@ -1,3 +1,4 @@
{
let x := 2 x := add(add(7, mul(6, x)), mul(7, 8))
}
// ----
@@ -1,3 +1,4 @@
{
let x := 2 x := add(add(7, mul(6, x)), mul(7, 8))
}
// ----
@@ -3,3 +3,4 @@
x := 7
}
// ----
@@ -1,3 +1,4 @@
{
let x := byte(1, 2)
}
// ----
@@ -3,3 +3,4 @@
}
// ====
// EVMVersion: >=byzantium
// ----
@@ -2,3 +2,4 @@
{ function g() {} }
{ function g() {} }
}
// ----
@@ -2,3 +2,4 @@
function f(a:u256, d:u256) { }
function g(a:u256, d:u256) -> x:u256, y:u256 { }
}
// ----
@@ -6,3 +6,4 @@
}
// ====
// dialect: evm
// ----
@@ -4,3 +4,4 @@
}
// ====
// dialect: evm
// ----
+1
View File
@@ -2,3 +2,4 @@
return (byte(1, 2), 2)
pop(address()) // this is valid (but unreachable) code
}
// ----
@@ -1 +1,2 @@
{ let x:u256 := 1:u256 }
// ----
@@ -1,3 +1,4 @@
{
let x := 1
}
// ----
@@ -5,3 +5,4 @@ object "A" {
code {}
}
}
// ----
@@ -33,3 +33,4 @@ object "A" {
}
}
}
// ----
@@ -1,3 +1,4 @@
object "A" {
code { }
}
// ----
@@ -8,3 +8,4 @@ object "outer" {
data "innery" "def"
}
}
// ----
@@ -6,3 +6,4 @@
}
// ====
// dialect: yul
// ----
@@ -1 +1,2 @@
{ let x.y:u256 := 2:u256 }
// ----
@@ -2,3 +2,4 @@
x.y(2:u256)
function x.y(a:u256) {}
}
// ----
@@ -1,2 +1,3 @@
/// comment
{ x.y(2:u256) function x.y(a:u256) {} }
// ----
@@ -1,3 +1,4 @@
{
selfdestruct(0x02)
}
// ----
@@ -1,3 +1,4 @@
{
let y := mul(0x10, mul(0x20, mload(0x40)))
}
// ----
+1
View File
@@ -1 +1,2 @@
{}
// ----
@@ -1 +1,2 @@
{ { } }
// ----
@@ -107,3 +107,4 @@
}
// ====
// dialect: evm
// ----
@@ -3,3 +3,4 @@
case "1" {}
case "2" {}
}
// ----
@@ -6,3 +6,4 @@
{ switch mul(1, 2) case 1 {} case 2 {} default {} }
{ function f() -> x {} switch f() case 1 {} case 2 {} default {} }
}
// ----
@@ -6,3 +6,4 @@
}
// ====
// dialect: yul
// ----
@@ -2,3 +2,4 @@
function f() -> a:u256, b:u256, c:u256 {}
let x:u256, y:u256, z:u256 := f()
}
// ----
+1
View File
@@ -3,3 +3,4 @@
}
// ====
// dialect: yul
// ----
@@ -4,3 +4,4 @@
}
// ====
// dialect: evm
// ----
@@ -2,3 +2,4 @@
let y := 2
let x := add(add(7, mul(6, y)), mul(7, 8))
}
// ----
@@ -1,3 +1,4 @@
{
let x
}
// ----
@@ -2,3 +2,4 @@
function f() -> x, y {}
let x, y := f()
}
// ----
@@ -1,3 +1,4 @@
{ let x:u256 := 7:u256 }
// ====
// dialect: evmTyped
// ----
@@ -4,3 +4,4 @@
}
// ====
// dialect: evmTyped
// ----
@@ -5,3 +5,4 @@
}
// ====
// dialect: yul
// ----
@@ -1 +1,2 @@
{ let x:u256 }
// ----