Add more comprehensive tests for embedded inline assembly LValue/RValue access

This commit is contained in:
Alex Beregszaszi
2018-07-25 10:45:31 +01:00
parent 167fe7c370
commit d647761058
7 changed files with 74 additions and 0 deletions
@@ -0,0 +1,9 @@
contract C {
function f() public pure {
assembly {
let x := C
}
}
}
// ----
// TypeError: (72-73): Expected a library.