solidity/test/libsolidity/syntaxTests/tryCatch/creation.sol
2020-11-05 10:30:09 +00:00

14 lines
187 B
Solidity

contract D {
}
contract C {
function f() public {
try new D() {
} catch (bytes memory x) {
x;
}
}
}
// ====
// EVMVersion: >=byzantium
// ----