blob: 65d283a3ec7e80656ccbe851115cff4bedeb0550 [file] [log] [blame]
// RUN: %target-typecheck-verify-swift
class B { }
class D: B { }
let b: B = (D() as B as! D) as B
let x: UInt8 = 0 as UInt8 + 12