mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
These tests are checking the printed outpout of the diagnostic formatter in ways that change with the Swift formatter, but are not consequential.
10 lines
368 B
Swift
10 lines
368 B
Swift
// RUN: not %target-swift-frontend -typecheck %s -I %S/Inputs/custom-modules -diagnostic-style llvm 2>&1 | %FileCheck %s
|
|
|
|
import Requires.Swift // OK
|
|
import Requires.NotSwift
|
|
// CHECK-NOT: error
|
|
// CHECK: error: module 'Requires.NotSwift' is incompatible with feature 'swift'
|
|
// CHECK-NOT: error
|
|
// CHECK: error: no such module 'Requires.NotSwift'
|
|
// CHECK-NOT: error
|