Files
swift-mirror/test/decl/init/throwing.swift
Doug Gregor 41ae48b22e Start parsing 'throws' on initializers.
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
2015-04-14 22:52:29 +00:00

7 lines
76 B
Swift

// RUN: %target-parse-verify-swift
struct Throws1 {
init() throws { }
}