Sign in
fuchsia
/
third_party
/
swift
/
737f05d95ae13c94b5770637f4707bbd303bd421
/
.
/
test
/
SILOptimizer
/
dead_func.swift
blob: fcc62a5837caf9331c9feb2a3ce0ce855ef70f1c [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend %s -O -emit-sil
// Make sure we are not crashing on this one.
var
a
:
[
String
]
=
[
"foo"
]
preconditionFailure
(
"unreachable"
)
for
i
in
0.
..
a
.
count
{
let
x
=
0
}