mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
A parse-only option is needed for parse performance tracking and the current option also includes semantic analysis.
10 lines
143 B
Swift
10 lines
143 B
Swift
// RUN: not %target-swift-frontend %s -typecheck
|
|
|
|
protocol A {}
|
|
extension A {
|
|
final func f() {}
|
|
protocol B {
|
|
func f()
|
|
}
|
|
struct S : A, B {}
|