Sign in
fuchsia
/
third_party
/
swift
/
9be606ee2902c4e226074c9935e9f6c104657043
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0105-sr5050.swift
blob: 900706a5fc5e037e7d4aa2d0ddef1197d3a09baa [
file
] [
log
] [
blame
]
// RUN: not %target-swift-frontend %s -typecheck
// REQUIRES: asserts
protocol P
{}
func bar
(
p
:
P
?)
{
foo
(
p
is
String
)
}
func foo
<
T
>(
_
:
T
,
_
:
T
)
{}
func foo
<
T
>(
_
:
T
?,
_
:
T
?)
{}