================================================================================
open declaration with no name
:error
================================================================================

open

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

================================================================================
open declaration with a trailing dot
:error
================================================================================

open Ns1.

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

================================================================================
open type with no name
:error
================================================================================

open type

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

================================================================================
exception definition with no name
:error
================================================================================

exception

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

================================================================================
union case with no name
:error
================================================================================

type T =
    | of int

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

================================================================================
inherit with no type
:error
================================================================================

type T() =
    inherit

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

================================================================================
interface with no type
:error
================================================================================

type T() =
    interface

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

================================================================================
member with no body
:error
================================================================================

type T() =
    member this.P1

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

================================================================================
member with no name
:error
================================================================================

type T() =
    member

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

================================================================================
member with a trailing dot
:error
================================================================================

type T() =
    member this.

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

================================================================================
static with no member following
:error
================================================================================

type T() =
    static

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

================================================================================
record field with only a mutable modifier
:error
================================================================================

type R =
    { mutable }

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

================================================================================
trailing dot in an expression
:error
================================================================================

let f (x: string) =
    x.

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

================================================================================
trailing dot in a record expression
:error
================================================================================

let r = { A. }

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

================================================================================
mutable binding with no value
:error
================================================================================

let mutable x

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

================================================================================
let rec with no binding
:error
================================================================================

let rec

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

================================================================================
binding with a colon but no type
:error
================================================================================

let x : = 1

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