Home | History | Annotate | Download | only in tests

Lines Matching refs:scope

31 	scope_datum_t *scope;
39 /* make sure its scope is correct */
40 scope = hashtab_search(p->scope[sym_type].table, id);
41 CU_ASSERT_FATAL(scope != NULL);
42 CU_ASSERT(scope->scope == scope_type);
43 CU_ASSERT(scope->decl_ids_len == len);
44 if (scope->decl_ids_len != len)
45 fprintf(stderr, "sym %s has %d decls, %d expected\n", id, scope->decl_ids_len, len);
49 if (decls[i] == scope->decl_ids[j])