mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add more comprehensive tests for embedded inline assembly LValue/RValue access
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
contract C {
|
||||
function f() public pure {
|
||||
assembly {
|
||||
let x := C
|
||||
}
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (72-73): Expected a library.
|
||||
Reference in New Issue
Block a user