Sign in
fuchsia
/
third_party
/
swift
/
04a16df3c214ce1382f726d4d5d2c7be2f934acd
/
.
/
validation-test
/
Sema
/
type_checker_perf
/
slow
/
rdar23429943.swift
blob: 1410c5d5d2cd99d39aa7786b52dc29be41fcd917 [
file
] [
log
] [
blame
]
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
// REQUIRES: tools-release,no_asserts
let
_
=
[
0
].
reduce
([
Int
]())
{
// expected-error@-1 {{reasonable time}}
return
$0
.
count
==
0
&&
$1
==
0
?
[]
:
$0
+
[
$1
]
}