Skip to content

Commit 4387480

Browse files
committed
WIP
1 parent fa6a57c commit 4387480

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/Sema/extension_retroactive_conformances_underlying_clang_module.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// RUN: %empty-directory(%t)
22
// RUN: split-file %s %t
33
// RUN: %target-swift-frontend -swift-version 5 %t/OtherLibrary.swift -emit-module -module-name OtherLibrary -o %t
4-
// RUN: %target-swift-frontend -typecheck %t/Library.swift -module-name Library -verify -swift-version 5 -I %t
4+
// RUN: %target-swift-frontend -typecheck %t/Library.swift -module-name Library -verify -swift-version 5 -import-underlying-module -I %t
5+
// RUN: %target-swift-frontend -typecheck %t/Library.swift -module-name Library -verify -swift-version 5 -DEXPLICIT_IMPORT -I %t
56

67
// REQUIRES: objc_interop
78

@@ -28,7 +29,9 @@ public protocol OtherLibraryProtocol {}
2829

2930
//--- Library.swift
3031

32+
#if EXPLICIT_IMPORT
3133
@_exported import Library
34+
#endif
3235
import OtherLibrary
3336

3437
public class LibraryClass {}

0 commit comments

Comments
 (0)