1 2 3 4 5 6 7
contract Test { bytes constant c = type(B).creationCode; bytes constant r = type(B).runtimeCode; } contract B { function f() public pure {} } // ----