mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
rdar://problem/18139663
This reapplies ef84c81429 and also takes
$match variables into account.
11 lines
335 B
Swift
11 lines
335 B
Swift
// RUN: %target-swift-frontend -primary-file %s -emit-ir -g -o - | FileCheck %s
|
|
|
|
// CHECK: !DILocalVariable(name: "_0", arg: 1
|
|
// CHECK: !DILocalVariable(name: "_1", arg: 2
|
|
// CHECK: !DILocalVariable(name: "_2", arg: 3
|
|
// CHECK: !DILocalVariable(name: "x4", arg: 4
|
|
|
|
public func fourth<T>(_: T, _: T, _: T, x4 : T) -> T {
|
|
return x4
|
|
}
|