Move inline assembly tests from nameAndTypeResolution to inlineAssembly

This commit is contained in:
Alex Beregszaszi
2019-02-20 11:00:02 +00:00
parent c5577145d3
commit 687522a2f5
20 changed files with 0 additions and 0 deletions
@@ -0,0 +1,10 @@
contract test {
uint constant x = 1;
function f() public {
assembly {
x := 2
}
}
}
// ----
// TypeError: (98-99): Constant variables not supported by inline assembly.