Skip to content

Commit e4d51be

Browse files
committed
Enable this test only when assertions are available.
Experimental features are generally not available in non-asserts build, so narrow this test. Fixes rdar://101494565.
1 parent 8a95701 commit e4d51be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Macros/builtin_macros.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %target-swift-frontend -enable-experimental-feature BuiltinMacros -dump-ast %s -module-name MacrosTest 2>&1 | %FileCheck %s
22
// REQUIRES: OS=macosx
3+
// REQUIRES: asserts
34

45
// CHECK: macro_expansion_expr implicit type='String'
56
// CHECK-NEXT: magic_identifier_literal_expr{{.*}}kind=#function

0 commit comments

Comments
 (0)