1 2 3 4 5 6 7 8 9 10 11 12 13
contract C { uint immutable x = 0; uint y = 0; function f() readX internal { } modifier readX() { _; y = x + 1; } } // ----