================================================================================
inherit declaration with an as binding
:error
================================================================================

type D(x) =
    inherit Base(x) as base

--------------------------------------------------------------------------------

================================================================================
object expression with an as binding on the base type
:error
================================================================================

let o = { new System.Object() as xbase with
            member x.M() = "" }

--------------------------------------------------------------------------------
