solidity/test/libsolidity/syntaxTests/tryCatch/creation.sol

14 lines
187 B
Solidity
Raw Normal View History

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