Skip to content

Commit 5ee8360

Browse files
committed
[Compile Time Constant Extraction] Guard Runtime Metadata Attributes test behind requires=asserts
1 parent 447e524 commit 5ee8360

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/ConstExtraction/ExtractRuntimeMetadataAttr.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// RUN: %target-swift-frontend -typecheck -emit-const-values-path %t/ExtractRuntimeMetadataAttr.swiftconstvalues -const-gather-protocols-file %t/protocols.json -primary-file %s -enable-experimental-feature RuntimeDiscoverableAttrs
55
// RUN: cat %t/ExtractRuntimeMetadataAttr.swiftconstvalues 2>&1 | %FileCheck %s
66

7+
// REQUIRES: asserts
8+
79
@runtimeMetadata
810
struct Flag<T> {
911
init(attachedTo: T.Type, _ description: String = "") {}

0 commit comments

Comments
 (0)