aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/metaTypes/codeAccessIsConstant.sol
blob: cda5d5c349f789b8342f298d0e735086854e9a00 (plain) (blame)
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 {} }
// ----