blob: 8d1a48e9fdc9ca94b8eedeab835229e58d707d14 [file] [log] [blame]
// RUN: %target-typecheck-verify-swift -parse-as-library
// This test case must be in a file with no other errors, otherwise we won't
// compute caputures.
class C {
lazy var foo: String = {
return self.x
}()
let x = "hi"
}