mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
8 lines
423 B
Swift
8 lines
423 B
Swift
// RUN: %swift %s -parse -verify
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
// Based on the stack trace this bug is actually triggering a different code path
|
|
// compared to case #021. so these appears not to be dupes(!).
|
|
|
|
class A<T where T : A> { // expected-error {{reference to generic type 'A' requires arguments in <...>}} expected-note {{generic type 'A' declared here}}
|
|
}
|