File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %{python} %utils/split_file.py -o %t %s
2
+ // RUN: split-file %s %t
3
3
4
4
// RUN: %target-swift-frontend -emit-module -I %t -o %t/MyModuleA.swiftmodule %t/MyModuleA.swift -enable-experimental-feature Embedded -parse-as-library
5
5
// RUN: %target-swift-frontend -emit-module -I %t -o %t/MyModuleB.swiftmodule %t/MyModuleB.swift -enable-experimental-feature Embedded -parse-as-library
16
16
// ModuleA ◀──┤ ├─── Main
17
17
// └─── ModuleC ◀─┘
18
18
19
- // BEGIN MyModuleA.swift
19
+ //--- MyModuleA.swift
20
20
21
21
public var global = 0
22
22
23
23
public func foo( ) { global += 1 }
24
24
25
- // BEGIN MyModuleB.swift
25
+ //--- MyModuleB.swift
26
26
27
27
import MyModuleA
28
28
29
29
public func foo( ) { global += 1 }
30
30
31
- // BEGIN MyModuleC.swift
31
+ //--- MyModuleC.swift
32
32
33
33
import MyModuleA
34
34
35
35
public func foo( ) { global += 1 }
36
36
37
- // BEGIN Main.swift
37
+ //--- Main.swift
38
38
39
39
import MyModuleB
40
40
import MyModuleC
You can’t perform that action at this time.
0 commit comments