mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When the new mangling is enabled permanently, the option can be removed from the RUN command lines again.
11 lines
385 B
Swift
11 lines
385 B
Swift
// RUN: %target-swift-frontend -Xllvm -new-mangling-for-tests -primary-file %s -emit-ir -g -o - | %FileCheck %s
|
|
|
|
public struct S {
|
|
func f() {
|
|
// CHECK: define {{.*}}_T04main1SV1fyyF
|
|
// CHECK: call void @llvm.dbg.value(metadata i{{.*}} 0,
|
|
// CHECK-SAME: metadata ![[SELF:[0-9]+]]
|
|
// CHECK: ![[SELF]] = !DILocalVariable(name: "self", arg: 1,
|
|
}
|
|
}
|