Files
swift-mirror/validation-test/compiler_crashers_fixed/rdar96194366.swift
Nate Chandler f454717c6e [IRGen] Look through opaque types for protocol witness table lazy access function.
When determining the linkage of protocol witness table lazy access
functions and their cache variables, look through opaque types to find
the underlying decls.

rdar://96194366
2022-07-11 15:21:38 -07:00

17 lines
395 B
Swift

// RUN: %target-swift-frontend -target %target-cpu-apple-macosx10.15 -swift-version 5 -c %s
// REQUIRES: objc_interop
// REQUIRES: OS=macosx
import SwiftUI
struct DropDestinationCoordinatorView: NSViewRepresentable {
func makeNSView(context: Context) -> some NSView {
return NSView()
}
func updateNSView(_ nsView: NSViewType, context: Context) {
print("for view: \(nsView)")
}
}