[isoltest] Enforcing compileViaYul to be set if test can pass via yul

This commit is contained in:
Djordje Mijovic
2020-05-05 00:38:13 +02:00
committed by chriseth
parent cb32530b6b
commit 8b7f87eed5
127 changed files with 412 additions and 145 deletions
@@ -6,6 +6,7 @@ contract C {
// ====
// EVMVersion: >=byzantium
// revertStrings: debug
// compileViaYul: also
// ----
// f(uint256,uint256,uint256[]): 2, 1, 0x80, 3, 1, 2, 3 -> FAILURE, hex"08c379a0", 0x20, 22, "Slice starts after end"
// f(uint256,uint256,uint256[]): 1, 5, 0x80, 3, 1, 2, 3 -> FAILURE, hex"08c379a0", 0x20, 28, "Slice is greater than length"