You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Non-empty code results in non-empty binary representation with optimizations turned off,
38
38
# while it results in empty binary representation with optimizations turned on.
39
-
test_solc_assembly_output "{ let x:u256 := 0:u256 mstore(0, x) }""{ { let x := 0 mstore(0, x) } }""--yul"
40
-
test_solc_assembly_output "{ let x:u256 := bitnot(7:u256) mstore(0, x) }""{ { let x := bitnot(7) mstore(0, x) } }""--yul"
41
-
test_solc_assembly_output "{ let t:bool := not(true) if t { mstore(0, 1) } }""{ { let t:bool := not(true) if t { mstore(0, 1) } } }""--yul"
39
+
test_solc_assembly_output "{ let x:u256 := 0:u256 mstore(0, x) }""{ { let x:u256 := 0:u256 mstore(0:u256, x) } }""--yul"
40
+
test_solc_assembly_output "{ let x:u256 := bitnot(7:u256) mstore(0, x) }""{ { let x:u256 := bitnot(7:u256) mstore(0:u256, x) } }""--yul"
41
+
test_solc_assembly_output "{ let t:bool := not(true) if t { mstore(0, 1) } }""{ { let t:bool := not(true:bool) if t { mstore(0:u256, 1:u256) } } }""--yul"
42
42
test_solc_assembly_output "{ let x := 0 mstore(0, x) }""{ { let x := 0 mstore(0, x) } }""--strict-assembly"
43
43
test_solc_assembly_output "{ let x := 0 mstore(0, x) }""{ { } }""--strict-assembly --optimize"
0 commit comments