Sign in
fuchsia
/
third_party
/
swift
/
c7ca64b5cbc8c05fb7fefda25f24a5d27900c997
/
.
/
validation-test
/
Sema
/
type_checker_crashers_fixed
/
overloaded_generic.swift
blob: c538d66f4b5f6efd275d965c2bb8714d3dc049e0 [
file
] [
log
] [
blame
]
// RUN: not %target-swift-frontend %s -typecheck
protocol A
{}
protocol B
{}
struct
X
:
A
{}
struct
Y
:
B
{}
struct
G
<
T
:
A
>
{
var
v
:
T
}
struct
G
<
T
:
B
>
{
var
v
:
T
}
let
a
=
G
(
v
:
X
())
let
b
=
G
(
v
:
Y
())