1 2 3 4 5 6 7 8 9 10 11
pragma experimental "v0.5.0"; contract test { uint x = 1; function f() public { assembly { x := 2 } } } // ---- // TypeError: (119-120): Only local variables are supported. To access storage variables, use the _slot and _offset suffixes.