Moving some tests to semantic tests.

This commit is contained in:
Djordje Mijovic
2020-11-03 11:00:52 +01:00
parent be02db4950
commit 18a464f4f4
47 changed files with 123 additions and 255 deletions
@@ -0,0 +1,13 @@
contract test {
function f() public returns(uint ret) {
ret = 1;
for (;;) {
ret += 1;
if (ret >= 10) break;
}
}
}
// ====
// compileViaYul: also
// ----
// f() -> 10