Sign in
fuchsia
/
third_party
/
swift
/
254be25f4d0a3dd2645af850910980e608226d0c
/
.
/
test
/
Constraints
/
inherited_generic_conformance.swift
blob: 99ce6b10ed8a978f564842d78b7833caddb39869 [
file
] [
log
] [
blame
]
// RUN: %target-typecheck-verify-swift
protocol P
{}
class
GenericBase
<
T
>:
P
{}
class
Derived
:
GenericBase
<
Int
>
{}
func foo
<
T
:
P
>(
_ x
:
T
)
{}
foo
(
Derived
())