1 2 3 4 5 6 7 8 9 10 11
contract C { uint constant x; function f() public pure { assembly { let c1 := x } } } // ---- // TypeError 4266: (17-32): Uninitialized "constant" variable. // TypeError 3224: (106-107): Constant has no value.