solidity/test/libsolidity/syntaxTests/inlineAssembly/assignment_from_contract.sol
2022-04-01 23:41:18 -05:00

10 lines
146 B
Solidity

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