mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The driver exits out early if there's no stdlib for the target you're compiling for, and these tests didn't pass a target for one reason or another. rdar://problem/29173390
14 lines
429 B
Swift
14 lines
429 B
Swift
// RUN: not %target-build-swift %S/Inputs/error.swift %s 2>&1 | %FileCheck %s
|
|
// RUN: not %target-build-swift -continue-building-after-errors %S/Inputs/error.swift %s 2>&1 | %FileCheck -check-prefix=CHECK-CONTINUE %s
|
|
|
|
// CHECK: self.bar = self.bar
|
|
// CHECK-NOT: self.baz = self.baz
|
|
// CHECK-CONTINUE: self.bar = self.bar
|
|
// CHECK-CONTINUE: self.baz = self.baz
|
|
struct Bar {
|
|
let baz: Int
|
|
init() {
|
|
self.baz = self.baz
|
|
}
|
|
}
|