<commit_before>// RUN: %check %s

f(a)
	char *a;
{
	return 0;
}

char *h(a)
	char *a;
{
	return a;
}

test()
{
	int   (*ifp)(char *);
	char *(*cpfp)(char *);

	ifp = f; // CHECK: !/warn/
	cpfp = h; // CHECK: !/warn/

	cpfp = f; // CHECK: warning: assignment type mismatch: char *((*)(char *)) <-- int (*)()
	ifp = h; // CHECK: warning: assignment type mismatch: int (*)(char *) <-- char *(*)()
}<commit_msg>old_func warning fixes<commit_after>// RUN: %check %s

f(a)
	char *a;
{
	return 0;
}

char *h(a)
	char *a;
{
	return a;
}

test()
{
	int   (*ifp)(char *);
	char *(*cpfp)(char *);

	ifp = f; // CHECK: !/warn/
	cpfp = h; // CHECK: !/warn/

	cpfp = f; // CHECK: warning: mismatching types, assignment:
	ifp = h; // CHECK: warning: mismatching types, assignment:
}
{'fraction_non_alphanumeric': 0.2320730117340287, 'fraction_numerical': 0.002607561929595828, 'mean_word_length': 2.9384615384615387, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1744968', 'n_tokens_mistral': 345, 'n_tokens_neox': 326, 'n_words': 92}