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