Update tests.

This commit is contained in:
chriseth 2020-07-20 17:17:19 +02:00
parent 50a54fa8aa
commit 8bdd93f4b8
6 changed files with 11 additions and 0 deletions

View File

@ -4,5 +4,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// ----
// f() -> 3

View File

@ -7,5 +7,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// ----
// f() -> 3, 6

View File

@ -66,6 +66,8 @@ contract C {
// found expectation comments:
// same offset for both arrays @ ABI_CHECK(
// ====
// compileViaYul: false
// ----
// f1(bytes[1]): 0x20, 0x20, 0x3, hex"0102030000000000000000000000000000000000000000000000000000000000" -> 0x3, 0x1, 0x2, 0x3
// f2(bytes[1],bytes[1]): 0x40, 0xa0, 0x20, 0x3, hex"0102030000000000000000000000000000000000000000000000000000000000", 0x20, 0x2, hex"0102000000000000000000000000000000000000000000000000000000000000" -> 0x3, 0x1, 0x2, 0x3, 0x2, 0x1, 0x2

View File

@ -8,6 +8,8 @@ contract C {
return a;
}
}
// ====
// compileViaYul: also
// ----
// f() -> 4, 11, 0x0111, 0x333333, 2222222222222222222
// g() -> 0x10, 0x0100, 0x0101, 0x333333, 2222222222222222222

View File

@ -288,6 +288,7 @@ contract Test {
/// testMul() -> true
//
// ====
// compileViaYul: also
// EVMVersion: >=constantinople
// ----
// library: Pairing

View File

@ -5,5 +5,7 @@ contract c {
}
}
// ====
// compileViaYul: also
// ----
// f() -> 1