Skip to content

Commit 71179c0

Browse files
committed
Add -enable-objc-interop to test and REQUIRES objcinterop
1 parent 3f9ac2f commit 71179c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/ClangImporter/throwing-mismarked-nonnullable-error.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// RUN: %target-swift-frontend -import-objc-header %S/Inputs/throwing-mismarked-nonnullable-error.h %s -emit-sil | %FileCheck %s
1+
// RUN: %target-swift-frontend -enable-objc-interop -import-objc-header %S/Inputs/throwing-mismarked-nonnullable-error.h %s -emit-sil | %FileCheck %s
2+
3+
// REQUIRES: objc_interop
24

35
// Make sure that we do not crash when importing a non-null NSError as
46
// throwing. We really just shouldn't expect this at all. I filed: rdar://94656178

0 commit comments

Comments
 (0)