mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
You'll notice that emitting this diagnostic will make some already noisy closure-related errors slightly more so. This is unfortunate, but for the time-being it's better than crashing. Swift SVN r21817
6 lines
194 B
Swift
6 lines
194 B
Swift
// RUN: %swift %s -parse -verify
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
|
|
protocol a : a { // expected-error{{circular protocol inheritance a}}
|
|
}
|