Sign in
fuchsia
/
third_party
/
swift
/
1d2290cdfa1ff4001c54dc21df1e827227be7ff8
/
.
/
test
/
Sema
/
diag_typealias.swift
blob: 0ad55c3870d7758df417b56ece9ac83f8711e50c [
file
] [
log
] [
blame
]
// RUN: %target-typecheck-verify-swift
struct
S
{}
typealias S
=
S
// expected-error {{type alias 'S' references itself}}
// expected-note@-1{{type declared here}}