Sign in
fuchsia
/
third_party
/
swift
/
1a23d426215a3779612ae9b91aa36831594db793
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0112-rdar33135487.swift
blob: a6acac0c4b8c666bcca414d6a179f913a44821c6 [
file
] [
log
] [
blame
]
// RUN: not %target-swift-frontend %s -typecheck
enum
State
<
StateType
>
{
func put
<
StateType
>()
->
StateType
{}
func put
<
T
>(
keyPath
:
WritableKeyPath
<
StateType
,
T
>,
projection
:
T
)
{
put
(
keyPath
:
\.age
,
projection
:
{})
}
}