mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
305 B
Swift
10 lines
305 B
Swift
// RUN: %target-swift-frontend %s -emit-ir -g -o - | FileCheck %s
|
|
|
|
public class Foo {
|
|
// CHECK: !DISubprogram(name: "deinit", linkageName: "_TFC11Destructors3FooD"
|
|
// CHECK-SAME: line: [[@LINE-2]]
|
|
// CHECK-SAME: isDefinition: true
|
|
var x : Int64
|
|
init(x: Int64) { self.x = x }
|
|
}
|