Sign in
fuchsia
/
third_party
/
swift
/
88ad74b60f4e45c6cab4f424ac6ab62d195d0e44
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0063-rdar29782437.swift
blob: 841eb6c4c5a2a2715493b4e55e8c0833b7205d96 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend %s -emit-ir
//
// REQUIRES: objc_interop
import
Foundation
public
class
C
:
NSObject
{}
public
protocol P
{
associatedtype A
:
C
}
public
class
X
<
T
:
P
>
:
NSObject
{
public
func foo
(
x
:
T
.
A
)
->
T
.
A
{
while
true
{}
}
}