Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2016-10-25-a
/
.
/
test
/
Constraints
/
inherited_generic_conformance.swift
blob: 6e4d2e6f0236e65beac84a407b2a3dc9b46f8cd3 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend -parse -verify %s
protocol P
{}
class
GenericBase
<
T
>:
P
{}
class
Derived
:
GenericBase
<
Int
>
{}
func foo
<
T
:
P
>(
_ x
:
T
)
{}
foo
(
Derived
())