=== tests/cases/conformance/es6/Symbols/symbolProperty14.ts ===
class C {
>C : Symbol(C, Decl(symbolProperty14.ts, 0, 0))

    [Symbol.iterator]: { x; y };
>Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 3890, 31))
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 3840, 52), Decl(lib.d.ts, 3946, 11))
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 3890, 31))
>x : Symbol(x, Decl(symbolProperty14.ts, 1, 24))
>y : Symbol(y, Decl(symbolProperty14.ts, 1, 27))
}
interface I {
>I : Symbol(I, Decl(symbolProperty14.ts, 2, 1))

    [Symbol.iterator]?: { x };
>Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 3890, 31))
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 3840, 52), Decl(lib.d.ts, 3946, 11))
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 3890, 31))
>x : Symbol(x, Decl(symbolProperty14.ts, 4, 25))
}

declare function foo(i: I): I;
>foo : Symbol(foo, Decl(symbolProperty14.ts, 5, 1), Decl(symbolProperty14.ts, 7, 30))
>i : Symbol(i, Decl(symbolProperty14.ts, 7, 21))
>I : Symbol(I, Decl(symbolProperty14.ts, 2, 1))
>I : Symbol(I, Decl(symbolProperty14.ts, 2, 1))

declare function foo(a: any): any;
>foo : Symbol(foo, Decl(symbolProperty14.ts, 5, 1), Decl(symbolProperty14.ts, 7, 30))
>a : Symbol(a, Decl(symbolProperty14.ts, 8, 21))

declare function bar(i: C): C;
>bar : Symbol(bar, Decl(symbolProperty14.ts, 8, 34), Decl(symbolProperty14.ts, 10, 30))
>i : Symbol(i, Decl(symbolProperty14.ts, 10, 21))
>C : Symbol(C, Decl(symbolProperty14.ts, 0, 0))
>C : Symbol(C, Decl(symbolProperty14.ts, 0, 0))

declare function bar(a: any): any;
>bar : Symbol(bar, Decl(symbolProperty14.ts, 8, 34), Decl(symbolProperty14.ts, 10, 30))
>a : Symbol(a, Decl(symbolProperty14.ts, 11, 21))

foo(new C);
>foo : Symbol(foo, Decl(symbolProperty14.ts, 5, 1), Decl(symbolProperty14.ts, 7, 30))
>C : Symbol(C, Decl(symbolProperty14.ts, 0, 0))

var i: I;
>i : Symbol(i, Decl(symbolProperty14.ts, 14, 3))
>I : Symbol(I, Decl(symbolProperty14.ts, 2, 1))

bar(i);
>bar : Symbol(bar, Decl(symbolProperty14.ts, 8, 34), Decl(symbolProperty14.ts, 10, 30))
>i : Symbol(i, Decl(symbolProperty14.ts, 14, 3))

