mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
These are tests that fail in the next commit without this flag. This does not add -verify-ignore-unrelated to all tests with -verify, only the ones that would fail without it. This is NFC since this flag is currently a no-op.
9 lines
342 B
Swift
9 lines
342 B
Swift
// REQUIRES: OS=macosx
|
|
// RUN: %target-swift-frontend -typecheck %s -F %S/Inputs/frameworks -verify -verify-ignore-unrelated -library-level api
|
|
|
|
import SPIContainerImporter
|
|
|
|
@_spi(a) public let a: SPIInterface1
|
|
|
|
public let c: SPIInterface1 // expected-error{{cannot use class 'SPIInterface1' here; it is an SPI imported from 'SPIContainer'}}
|