mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Stopped validation-test/compiler_crashers_2_fixed/rdar79383990.swift from trying to call -[NSBackgroundActivityScheduler scheduleWithBlock:] async--that method is now annotated NS_SWIFT_DISABLE_ASYNC.
10 lines
271 B
Swift
10 lines
271 B
Swift
// RUN: %target-swift-frontend %s -emit-silgen -disable-availability-checking -import-objc-header %S/Inputs/rdar79383990.h
|
|
// REQUIRES: objc_interop
|
|
// REQUIRES: OS=macosx
|
|
|
|
import Foundation
|
|
|
|
func test(s: BackgroundActivityScheduler) async {
|
|
_ = await s.schedule()
|
|
}
|