public void testPrototypeReferences4() throws Exception {
SymbolTable table = createSymbolTable(
"/** @constructor */ function Foo() {}" +
"Foo.prototype = {bar: 3}");
Symbol fooPrototype = getGlobalVar(table, "Foo.prototype");
assertNotNull(fooPrototype);
List<Reference> refs = Lists.newArrayList(
table.getReferences(fooPrototype));
assertEquals(1, refs.size());