Files
swift-mirror/validation-test/compiler_crashers_2_fixed/rdar79383990.swift
Nate Chandler 4a8a647e4c [Test] Used test header rather than SDK.
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.
2021-07-28 20:37:46 -07:00

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()
}