Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2016-08-07-a
/
.
/
test
/
SILGen
/
optional_chain_addressor.swift
blob: b7c71d95fc937b72493dbc839d9dd8ef5d940104 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend -emit-silgen -verify -parse-as-library %s
func foo
(
x
:
UnsafeMutablePointer
<
UnsafeMutablePointer
<()>?>)
{
_
=
x
.
pointee
?.
pointee
_
=
x
.
pointee
.
map
{
type
(
of
:
$0
)
}
}