File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed
Inputs/imported_modules/ComplexModuleGraph2 Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change
1
+ #import < DaemonKit/ViolateSecondLawOfThermodynamics.h>
2
+
1
3
#import < CoreDaemon.h>
2
4
3
5
struct DaemonPair {
Original file line number Diff line number Diff line change
1
+ #import < CoreDaemon.h>
2
+
3
+ struct MaxwellsDaemon {
4
+ Runner *doorOperation;
5
+ };
Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ module CoreDaemon {
14
14
}
15
15
16
16
module DaemonKit {
17
- header "DaemonKit.h"
17
+ umbrella header "DaemonKit/DaemonKit.h"
18
+ explicit module ViolateSecondLawOfThermodynamics {
19
+ header "DaemonKit/ViolateSecondLawOfThermodynamics.h"
20
+ export *
21
+ }
18
22
export *
19
23
}
20
24
Original file line number Diff line number Diff line change @@ -99,22 +99,24 @@ public func runBoth(_ pair: DaemonKit.DaemonPair) {
99
99
// RUN: %target-swift-frontend %s -typecheck -DTestDaemon -DV1 -module-name TestDaemonV1 -emit-loaded-module-trace-path %t/TestDaemonV1.trace.json -I %t/include
100
100
// RUN: %FileCheck %s --check-prefix=TESTDAEMON < %t/TestDaemonV1.trace.json
101
101
102
- // RUN: %target-swift-frontend %s -typecheck -DTestDaemon -DV2 -module-name TestDaemonV2 -emit-loaded-module-trace-path %t/TestDaemonV2.trace.json -I %t/include
103
- // RUN: %FileCheck %s --check-prefix=TESTDAEMON < %t/TestDaemonV2.trace.json
102
+ // FIXME: rdar://67704000
103
+ // RUN: not --crash %target-swift-frontend %s -typecheck -DTestDaemon -DV2 -module-name TestDaemonV2 -emit-loaded-module-trace-path %t/TestDaemonV2.trace.json -I %t/include
104
+ // SKIP: %FileCheck %s --check-prefix=TESTDAEMON < %t/TestDaemonV2.trace.json
104
105
105
106
// RUN: %target-swift-frontend %s -typecheck -DTestDaemon -DV3 -module-name TestDaemonV3 -emit-loaded-module-trace-path %t/TestDaemonV3.trace.json -I %t/include
106
107
// RUN: %FileCheck %s --check-prefix=TESTDAEMON < %t/TestDaemonV3.trace.json
107
108
108
- // RUN: %target-swift-frontend %s -typecheck -DTestDaemon -DV4 -module-name TestDaemonV4 -emit-loaded-module-trace-path %t/TestDaemonV4.trace.json -I %t/include
109
- // RUN: %FileCheck %s --check-prefix=TESTDAEMON < %t/TestDaemonV4.trace.json
109
+ // FIXME: rdar://67704000
110
+ // RUN: not --crash %target-swift-frontend %s -typecheck -DTestDaemon -DV4 -module-name TestDaemonV4 -emit-loaded-module-trace-path %t/TestDaemonV4.trace.json -I %t/include
111
+ // SKIP: %FileCheck %s --check-prefix=TESTDAEMON < %t/TestDaemonV4.trace.json
110
112
111
113
#if TestDaemon
112
114
#if V1
113
115
import CoreDaemon
114
116
#endif
115
117
#if V2
116
118
import DaemonKit
117
- public func noop( _: CoreDaemon . Daemon ) { }
119
+ public func noop( _: CoreDaemon . Daemon , _ : MaxwellsDaemon ) { }
118
120
#endif
119
121
#if V3
120
122
import CoreDaemon
You can’t perform that action at this time.
0 commit comments