Skip to content

Commit a19021d

Browse files
committed
Fix the Serialization/version-mismatches.swift Swift version
1 parent 2173c52 commit a19021d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Serialization/version-mismatches.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Library
1212
// TOO-NEW: :[[@LINE-2]]:8: error: compiled module was created by a newer version of the compiler: {{.*}}too-new/Library.swiftmodule{{$}}
1313

1414
// Update this line when the compiler version changes.
15-
// LANGUAGE: :[[@LINE-5]]:8: error: module compiled with Swift X.Y cannot be imported by the Swift 5.{{.+}} compiler: {{.*}}too-{{old|new}}-language/Library.swiftmodule{{$}}
15+
// LANGUAGE: :[[@LINE-5]]:8: error: module compiled with Swift X.Y cannot be imported by the Swift 6.{{.+}} compiler: {{.*}}too-{{old|new}}-language/Library.swiftmodule{{$}}
1616

1717
// Compiler thinks that the module is empty in all cases.
1818
// CHECK: :[[@LINE+1]]:1: error: module 'Library' has no member named 'foo'

0 commit comments

Comments
 (0)