Files
swift-mirror/test/DebugInfo/curry_thunk.swift
Saleem Abdulrasool 2711018bcd test: adjust test to repair the test on Windows
The test overfit for non-Windows platform.
2020-06-02 11:18:45 -07:00

9 lines
455 B
Swift

// RUN: %target-swift-frontend -primary-file %s %S/Inputs/curry_thunk_other.swift -emit-ir -g -o - | %FileCheck %s
public func testCurryThunk() -> [HTTPMethod] {
return ["asdf"].map(HTTPMethod.init)
}
// CHECK: [[FILE:![0-9]+]] = !DIFile(filename: "{{.*[/\\]}}curry_thunk.swift", directory: "{{.*}}")
// CHECK: {{![0-9]+}} = !DILocalVariable(name: "rawValue", arg: 1, scope: {{![0-9]+}}, file: {{![0-9]+}}, type: {{![0-9]+}}, flags: DIFlagArtificial)