blob: 9fd330ab658657d4276823ef0390072ca0f3e7a0 [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"
}