================================================================================
keyword 'type' used as a binding name
:error
================================================================================

let type = 2

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

================================================================================
open declaration inside a function body
:error
================================================================================

let f () =
    open System
    ()

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

================================================================================
namespace declaration after code
:error
================================================================================

module M

let x = 1

namespace N

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

================================================================================
code before the first namespace declaration
:error
================================================================================

let x = 1

namespace N

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

================================================================================
as binding in a typed pattern
:error
================================================================================

let (i: as _) = ()

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