File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ func f() {
12
12
markUsed ( " jump directly to def " )
13
13
}
14
14
15
- // RUN: %target-swift-frontend -primary-file %s -S -g -o - | %FileCheck %s
15
+ // RUN: %target-swift-frontend -primary-file %/ s -S -g -o - | %FileCheck %s
16
16
// CHECK: .file [[MAIN:.*]] "{{.*}}line-directive.swift"
17
17
// CHECK: .loc [[MAIN]] 1
18
18
// CHECK: .file [[ABC:.*]] "abc.swift"
@@ -24,8 +24,8 @@ func f() {
24
24
// CHECK: .asciz "{{.*}}test/DebugInfo"
25
25
26
26
// RUN: %empty-directory(%t)
27
- // RUN: sed -e "s: LINE_DIRECTIVE_DIR:%S: g" %S/Inputs/vfsoverlay.yaml > %t/overlay.yaml
28
- // RUN: %target-swift-frontend -vfsoverlay %t/overlay.yaml -primary-file %S/vfs-relocated-line-directive.swift -S -g -o - | %FileCheck -check-prefix=VFS %s
27
+ // RUN: sed -e "s| LINE_DIRECTIVE_DIR|%/S| g" %S/Inputs/vfsoverlay.yaml > %t/overlay.yaml
28
+ // RUN: %target-swift-frontend -vfsoverlay %t/overlay.yaml -primary-file %/ S/vfs-relocated-line-directive.swift -S -g -o - | %FileCheck -check-prefix=VFS %s
29
29
// VFS: .file [[MAIN:.*]] "{{.*}}vfs-relocated-line-directive.swift"
30
30
// VFS: .loc [[MAIN]] 1
31
31
// VFS: .file [[ABC:.*]] "abc.swift"
You can’t perform that action at this time.
0 commit comments