Files
swift-mirror/validation-test/SILGen/issue-73244.swift
2024-04-29 17:57:02 -07:00

10 lines
201 B
Swift

// RUN: %target-swift-emit-silgen %s -verify
// Check that SILGen does not crash because of a parenthesized try expression
class Class {
var num: Int = 1
init() throws {}
}
_ = (try Class().num)