contract c { uint constant a = 1; function f() public { a = 2; } } // ---- // TypeError: (64-65): Cannot assign to a constant variable.