We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11e5fc8 commit ee3fb5eCopy full SHA for ee3fb5e
test/Generics/requirement_machine_diagnostics.swift
@@ -1,5 +1,7 @@
1
// RUN: %target-typecheck-verify-swift -warn-redundant-requirements
2
3
+// REQUIRES: rdar106457182
4
+
5
func testInvalidConformance() {
6
// expected-error@+1 {{type 'T' constrained to non-protocol, non-class type 'Int'}}
7
func invalidIntConformance<T>(_: T) where T: Int {}
0 commit comments