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

10 lines
142 B
Solidity
Raw Normal View History

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