Enable tests.

This commit is contained in:
chriseth 2021-01-11 14:51:33 +01:00
parent 994fdb7517
commit 3804ad85f6
4 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,8 @@ contract C {
return (r[2], s.x, a, b, c, d); return (r[2], s.x, a, b, c, d);
} }
} }
// ====
// compileViaYul: also
// ---- // ----
// library: L // library: L
// f() -> 8, 7, 1, 2, 7, 12 // f() -> 8, 7, 1, 2, 7, 12

View File

@ -12,6 +12,8 @@ contract C {
return L.f(x); return L.f(x);
} }
} }
// ====
// compileViaYul: also
// ---- // ----
// library: L // library: L
// g(uint256): 4 -> 16 // g(uint256): 4 -> 16

View File

@ -16,6 +16,8 @@ contract test {
L.set(table, k, v); L.set(table, k, v);
} }
} }
// ====
// compileViaYul: also
// ---- // ----
// library: L // library: L
// get(address): 0 -> 0 // get(address): 0 -> 0

View File

@ -19,6 +19,7 @@ contract test {
} }
} }
// ==== // ====
// compileViaYul: also
// EVMVersion: >=byzantium // EVMVersion: >=byzantium
// ---- // ----
// library: L // library: L