=== tests/cases/conformance/types/primitives/number/invalidNumberAssignments.ts ===
var x = 1;
>x : number
>1 : 1

var a: boolean = x;
>a : boolean
>x : number

var b: string = x;
>b : string
>x : number

var c: void = x;
>c : void
>x : number

var d: typeof undefined = x;
>d : any
>undefined : undefined
>x : number

class C { foo: string; }
>C : C
>foo : string

var e: C = x;
>e : C
>x : number

interface I { bar: string; }
>bar : string

var f: I = x;
>f : I
>x : number

var g: { baz: string } = 1;
>g : { baz: string; }
>baz : string
>1 : 1

var g2: { 0: number } = 1;
>g2 : { 0: number; }
>0 : number
>1 : 1

module M { export var x = 1; }
>M : typeof M
>x : number
>1 : 1

M = x;
>M = x : number
>M : any
>x : number

function i<T>(a: T) {
>i : <T>(a: T) => void
>a : T

    a = x;
>a = x : number
>a : T
>x : number
}
i = x;
>i = x : number
>i : any
>x : number

