blob: d8e9adc73e0fa812f121b5c8bebe08421106b413 [file] [log] [blame]
// RUN: %target-swift-frontend %s -emit-ir -g -o - | %FileCheck %s
func markUsed<T>(_ t: T) {}
class A {
var a : A?
// CHECK: define {{.*}}1ACACycfc
init() {
// This store that sets up the stack slot should be on line 0 so
// the debugger may skip ahead.
// CHECK: store {{.*}} %0, {{.*}}, !dbg ![[DBG:[0-9]+]]
// CHECK: ![[DBG]] = {{.*}}line: 0
markUsed("Hi")
}
}
let a = A()