Move basefee_berlin_function test to syntax tests.

This commit is contained in:
wechman
2022-03-02 10:48:33 +01:00
parent 5941f029ad
commit 8e2f929648
@@ -1,22 +0,0 @@
contract C {
function f() public view returns (uint ret) {
assembly {
let basefee := sload(0)
ret := basefee
}
}
function g() public pure returns (uint ret) {
assembly {
function basefee() -> r {
r := 1000
}
ret := basefee()
}
}
}
// ====
// compileViaYul: also
// EVMVersion: <=berlin
// ----
// f() -> 0
// g() -> 1000