Files
swift-mirror/test/DebugInfo/Destructors.swift
2015-12-23 09:49:46 -08:00

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 }
}