Skip to content

Commit a2dbc24

Browse files
committed
test/stdlib/unmanaged_rc.swift requires an optimized stdlib
1 parent 9297a35 commit a2dbc24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/stdlib/unmanaged_rc.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// RUN: %target-swift-frontend %s -emit-sil | %FileCheck %s
33
// RUN: %target-swift-frontend %s -emit-sil -O | %FileCheck -check-prefix=OPT %s
44

5+
// REQUIRES: optimized_stdlib
6+
57
// Make sure that when we invoke Unmanaged._withUnsafeGuaranteedRef, we do not
68
// have any ref count overhead.
79
public class Klass {}

0 commit comments

Comments
 (0)