blob: 62bea7be30e8055aab49a189a2f9b2f97dd29d80 [file] [log] [blame]
// RUN: %target-swift-frontend -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
}
}