Sign in
fuchsia
/
third_party
/
swift
/
1d2290cdfa1ff4001c54dc21df1e827227be7ff8
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0143-rdar35870863.swift
blob: bf94b69705c3931f7c6d7e7b18f06579b502900a [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend %s -typecheck
struct
S
{
let
foo
=
"bar"
}
let
s
:
S
?
=
S
()
let
str
:
String
?
=
"hello world"
switch
str
{
case
s
?.
foo
?:
()
default
:
()
}