Skip to content

Commit f8722df

Browse files
authored
Merge pull request #79339 from xymus/error-sil-function-cache
Tests: Use a local cache for error-sil-function.swift
2 parents 72230da + d6fb616 commit f8722df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Serialization/Recovery/error-sil-function.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// RUN: not --crash %target-swift-frontend -c %s 2>&1 | %FileCheck %s
1+
// RUN: %empty-directory(%t/cache)
2+
// RUN: not --crash %target-swift-frontend -c %s -module-cache-path %t/cache 2>&1 | %FileCheck %s
23
// CHECK: *** DESERIALIZATION FAILURE ***
34
// CHECK: SILFunction type mismatch for 'asinf': '$@convention(thin) (Float) -> Float' != '$@convention(c) (Float) -> Float'
45

0 commit comments

Comments
 (0)