blob: 6d3e3611ddcd2cd936953dd73836fe7e19feec62 [file] [log] [blame]
// RUN: %target-parse-verify-swift
protocol P {
class GC<X> {} // expected-error{{type not allowed here}}
protocol P2 { // expected-error{{type not allowed here}}
var v1: Int { get }
}
struct S { // expected-error{{type not allowed here}}
var v1: Int
}
enum E { // expected-error{{type not allowed here}}
case C1
}
}