Files
swift-mirror/test/IRGen/objc_protocol_sendable.swift
Doug Gregor e1f6ad1db6 Drop 'Sendable' when converting to Clang types.
Fixes rdar://94824682.
2022-06-22 01:01:38 -07:00

10 lines
290 B
Swift

// RUN: %target-swift-frontend -emit-ir %s -swift-version 5 -import-objc-header %S/Inputs/objc_protocol_sendable.h | %IRGenFileCheck %s
// REQUIRES: objc_interop
// REQUIRES: concurrency
// CHECK: define{{.*}}s22objc_protocol_sendable4test1aySo1AC_tF
public func test(a: A) {
a.foo()
}