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.
10 lines
338 B
Swift
10 lines
338 B
Swift
// RUN: %target-swift-frontend -Xllvm -new-mangling-for-tests %s -emit-ir -g -o - | %FileCheck %s
|
|
|
|
public class Foo {
|
|
// CHECK: !DISubprogram(name: "deinit", linkageName: "_T011Destructors3FooCfD"
|
|
// CHECK-SAME: line: [[@LINE-2]]
|
|
// CHECK-SAME: isDefinition: true
|
|
var x : Int64
|
|
init(x: Int64) { self.x = x }
|
|
}
|