1 2 3 4 5 6 7 8 9 10
contract A { address public immutable user = address(0x0); } contract Test { function test() public pure returns(bytes memory) { return type(A).creationCode; } } // ----