<commit_before>// RUN: %ocheck 0 %s

typedef struct
{
	int x;
} A;

main()
{
	int sz = sizeof((A *)0)->x;
	if(sz != sizeof(int))
		abort();
	return 0;
}<commit_msg>Add array size check to sizeof() test<commit_after>// RUN: %ocheck 0 %s

typedef struct
{
	int x;
} A;

main()
{
	int sz = sizeof((A *)0)->x;
	if(sz != sizeof(int))
		abort();

	int ar[10];
	sz = sizeof(ar)[0];
	if(sz != sizeof(int))
		abort();

	return 0;
}
{'fraction_non_alphanumeric': 0.2132701421800948, 'fraction_numerical': 0.02132701421800948, 'mean_word_length': 3.4526315789473685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7121326', 'n_tokens_mistral': 199, 'n_tokens_neox': 184, 'n_words': 53}