solidity/test/libsolidity/syntaxTests/inlineAssembly/assignment_from_contract.sol

10 lines
142 B
Solidity

contract C {
function f() public pure {
assembly {
let x := C
}
}
}
// ----
// TypeError 4977: (72-73): Expected a library.