mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
6 lines
270 B
Swift
6 lines
270 B
Swift
// RUN: %swift %s -parse -verify
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
|
|
class A<T : A> { // expected-error {{reference to generic type 'A' requires arguments in <...>}} expected-note {{generic type 'A' declared here}}
|
|
}
|