blob: 25160b432592bc7bbeeec58c1cdd847c0c856ee7 [file] [log] [blame]
// RUN: %sourcekitd-test -req=sema %s -- %s > %t.response
// RUN: %FileCheck -input-file=%t.response %s
// This tests that we are not crashing in SILGen.
// CHECK: @objc attribute used without importing module
@objc protocol Communicate {
var name: String { get }
}
class Cat : Communicate {
let name = "Felix"
}