Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-10-20-a
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0117-rdar33433087.swift
blob: 8f19d92d9bd5ae213f4c1c489ef1e1793306667d [
file
] [
log
] [
blame
]
// RUN: not %target-swift-frontend %s -typecheck
class
C
{
private
init
()
{}
// expected-error {{declared here}}
init
(
n
:
Int
)
{}
}
_
=
C
()
// expected-error@-1 {{'C' initializer is inaccessible due to 'private' protection level}}