mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update expectation in tests for inline assembly with name clashes
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
contract C {
|
||||
function f() public pure returns (uint r) {
|
||||
assembly { function f() -> x { x := 1 } r := f() }
|
||||
}
|
||||
function g() public pure returns (uint r) {
|
||||
assembly { function f() -> x { x := 2 } r := f() }
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 1
|
||||
// g() -> 2
|
||||
Reference in New Issue
Block a user