// @declaration: true class C { private x: T; } interface X { f(): string; } interface Y { f(): string; } var a: C; var b: C; a = b; // Ok - should be identical