Files
swift-mirror/test/attr/attr_weaklinked.swift
Doug Gregor ed6b713e35 Move diagnostic about @_weakLinked not working for COFF into the type checker
This allows us to use `@_weakLinked` inside of a `#if` properly.
2024-03-01 12:18:58 -08:00

7 lines
98 B
Swift

// RUN: %target-typecheck-verify-swift
#if !os(Windows)
@_weakLinked public func f() { }
#endif