Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-01-22-a
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0113-rdar33044867.swift
blob: c1dd118c5ddade02ee3df91a75ba490ee97f76e2 [
file
] [
log
] [
blame
]
// RUN: not %target-swift-frontend %s -typecheck
public
class
A
{
var
property
:
UndeclaredType
var
keyPath
:
Any
{
return
#keyPath(property.foo)
}
}
public
class
B
{
var
property
:
UndeclaredType
var
keyPath
:
Any
{
return
[#
keyPath
(
property
.
foo
)]
}
}