Files
swift-mirror/validation-test/compiler_crashers/022-generic-class-referencing-itself-with-verbose-syntax.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}}
}