mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
15 lines
631 B
Swift
15 lines
631 B
Swift
// RUN: %target-swift-frontend -typecheck %s -enable-source-import -I %S/Inputs -parse-as-library
|
|
// RUN: %target-swift-frontend -typecheck %s -enable-source-import -I %S/Inputs
|
|
// RUN: %target-swift-frontend -typecheck %S/Inputs/MutualDependencyHelper.swift -enable-source-import -I %S
|
|
|
|
// RUN: %target-swift-frontend -interpret -I %S/Inputs -enable-source-import %s -verify
|
|
|
|
|
|
import MutualDependencyHelper
|
|
|
|
public class MyClass {
|
|
public var delegate : MyDelegate // expected-note {{'self.delegate' not initialized}}
|
|
|
|
public init() {} // expected-error {{return from initializer without initializing all stored properties}}
|
|
}
|