Sort tests.

This commit is contained in:
chriseth
2020-03-19 14:42:25 +01:00
parent 8834b1acaf
commit f25157a5f8
295 changed files with 0 additions and 0 deletions
@@ -0,0 +1,19 @@
contract C {
function f(uint256 x) public returns (uint256 a) {
assembly {
a := byte(x, 31)
}
}
function g(uint256 x) public returns (uint256 a) {
assembly {
a := byte(31, x)
}
}
}
// ====
// compileViaYul: also
// ----
// f(uint256): 2 -> 0
// g(uint256): 2 -> 2