mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Introduce basic validation for throwing @objc initializers, e.g., a failable @objc initializer cannot also be throwing. However, Objective-C selector computation is broken. Swift SVN r27292
7 lines
76 B
Swift
7 lines
76 B
Swift
// RUN: %target-parse-verify-swift
|
|
|
|
struct Throws1 {
|
|
init() throws { }
|
|
}
|
|
|