Skip to content

Commit c40e683

Browse files
committed
Build importer overlays in advance for this test.
Fixes rdar://problem/24954005
1 parent c0fd17a commit c40e683

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/ClangModules/objc_factory_method.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -target x86_64-apple-macosx10.51 -parse %s -verify
1+
// RUN: rm -rf %t && mkdir %t
2+
// RUN: %build-clang-importer-objc-overlays
3+
4+
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) -target x86_64-apple-macosx10.51 -parse %s -verify
25

36
// REQUIRES: OS=macosx
47
// REQUIRES: objc_interop

0 commit comments

Comments
 (0)