Skip to content

Commit add0c24

Browse files
committed
SILGen: Add missing weak_linked_attribute.swift test
I meant to check this in a while ago; it was part of swiftlang#22834.
1 parent 135ce78 commit add0c24

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// RUN: %target-swift-emit-silgen %s | %FileCheck %s
2+
3+
// CHECK-LABEL: sil [_weakLinked] [ossa] @$s21weak_linked_attribute0A8FunctionyyF : $@convention(thin) () -> ()
4+
@_weakLinked public func weakFunction() {}

0 commit comments

Comments
 (0)