Sign in
fuchsia
/
third_party
/
swift
/
115f7a43e006a33e81039ca67932db42fcb16b64
/
.
/
test
/
IRGen
/
dependent_generic_base_class_constraint.swift
blob: 5458ce17d4788a12a53376b82b3ffbcb8ecb5188 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend -emit-ir -verify %s
class
GenericClass
<
T
>
{
}
protocol
MyProtocol
{
}
class
MyClass
{
func myFunction
<
T
,
O
:
GenericClass
<
T
>>(
myArg
:
O
)
->
T
where
T
:
MyProtocol
{
fatalError
()
}
}