// RUN: not %target-swift-frontend %s -typecheck final class A { private var y: Y }