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

10 lines
137 B
Solidity
Raw Normal View History

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