This commit is contained in:
Daniel Kirchner
2023-06-19 16:24:07 +02:00
parent fb959b3066
commit 71f7bf7206
15 changed files with 430 additions and 12 deletions
@@ -0,0 +1,15 @@
pragma experimental solidity;
contract C {
fallback() external {
word x;
assembly {
mstore(0, 42)
return(0, 32)
}
}
}
// ====
// compileViaYul: true
// ----
// () -> 42