blob: 13174eff3e69ea980aae3ece8e1b8b41086fba20 [file] [log] [blame]
// RUN: %target-swift-frontend -Xllvm -new-mangling-for-tests -emit-ir -g %s -o - -O -disable-llvm-optzns | %FileCheck %s
// REQUIRES: objc_interop
import Foundation
public class NSCoder : NSObject {}
public class AClass : NSObject {
// Ensure that the call to the type metadata accessor has a line number.
// CHECK: call %swift.type* @_T011cleanupskip7NSCoderCMa()
// CHECK-SAME: !dbg ![[LINEZ:[0-9]+]]
// CHECK: ![[LINEZ]] = {{.*}}line: 0
public required init?(coder aDecoder: NSCoder) {
return nil
}
}