mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
fix tests with TMP_DIR
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// RUN: %target-swift-typecheck-module-from-interface(%t/Test.swiftinterface) -module-name Test -dump-availability-scopes 2>&1 | %FileCheck --strict-whitespace %s
|
||||
// RUN: %target-swift-frontend -compile-module-from-interface %t/Test.swiftinterface -o /dev/null -module-name Test -dump-availability-scopes 2>&1 | %FileCheck --strict-whitespace %s
|
||||
|
||||
// CHECK: {{^}}(root {{.*}} file={{.*}}{{/|\\}}availability-scopes.swift.tmp{{/|\\}}Test.swiftinterface
|
||||
// CHECK: {{^}}(root {{.*}} file=TMP_DIR{{/|\\}}Test.swiftinterface
|
||||
// CHECK: {{^}} (decl {{.*}}unavailable=* decl=unavailable()
|
||||
@available(*, unavailable)
|
||||
public func unavailable() { }
|
||||
|
||||
Reference in New Issue
Block a user