Sign in
fuchsia
/
third_party
/
swift
/
b285f5df3d5072dada43f71bb9b549c56454d913
/
.
/
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
?)
{}