mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[isoltest] Enforcing compileViaYul to be set if test can pass via yul
This commit is contained in:
committed by
chriseth
parent
cb32530b6b
commit
8b7f87eed5
@@ -15,6 +15,7 @@ contract C {
|
||||
return this.tested(garbled);
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() -> FAILURE # should throw #
|
||||
|
||||
@@ -14,6 +14,8 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> FAILURE
|
||||
// a() -> 42
|
||||
|
||||
@@ -6,6 +6,8 @@ contract Test {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f(uint256): 11 -> 21
|
||||
// f(uint256): 1 -> FAILURE
|
||||
|
||||
Reference in New Issue
Block a user