Skip to content

Commit 80c3b2c

Browse files
committed
[Bridging PCH] Add testcase for emitting, importing a bridging PCH file.
1 parent 4517e63 commit 80c3b2c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: rm -rf %t && mkdir -p %t
2+
// RUN: %target-swift-frontend -emit-pch -o %t/sdk-bridging-header.pch %S/Inputs/sdk-bridging-header.h
3+
// RUN: %target-swift-frontend -parse -verify %s -import-objc-header %t/sdk-bridging-header.pch
4+
// REQUIRES: objc_interop
5+
6+
import Foundation
7+
8+
let not = MyPredicate.not()
9+
let and = MyPredicate.and([])
10+
let or = MyPredicate.or([not, and])
11+

0 commit comments

Comments
 (0)