Sign in
fuchsia
/
third_party
/
swift
/
f2cf0510d6e25911e9babada46e0025862bd00cd
/
.
/
validation-test
/
Sema
/
type_checker_perf
/
slow
/
rdar22949523.swift
blob: b5d9df3d2c4743fabc5ae01972d1c7afad3ffdf4 [
file
] [
log
] [
blame
]
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
// REQUIRES: tools-release,no_asan
_
=
[
0
,
1
,
2
,
3
].
lazy
.
map
{
String
(
$0
)+
"hi"
}.
sorted
(
by
:
{
$0
>
$1
&&
$1
<
$0
&&
(
$1
+
$0
)
<
1000
})
// expected-error@-1 {{reasonable time}}