Sign in
fuchsia
/
third_party
/
swift
/
646034c539aa62bf45f280d7099396f06e50c056
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0132-rdar35699666.swift
blob: 5625cdd584ad77bec61ba31eef46637eb1381b6d [
file
] [
log
] [
blame
]
// RUN: not %target-swift-frontend %s -typecheck
struct
A
<
T
>
{
private
var
b
:
[
T
]
}
func foo
(
v
:
[
Int
])
{
let
_
=
A
(
b
:
v
.
sorted
{
$0
<
$1
}.
map
{
$0
})
}