xref: /illumos-gate/usr/src/contrib/ast/src/lib/libast/features/sizeof (revision b30d193948be5a7794d7ae3ba0ed9c2f72c88e0f)
1tst	- note{ sizeof(integral-type) }end output{
2	#include "FEATURE/common"
3	int
4	main()
5	{
6		printf("#define _ast_sizeof_char	%d\n", sizeof(char));
7		printf("#define _ast_sizeof_short	%d\n", sizeof(short));
8		printf("#define _ast_sizeof_int		%d\n", sizeof(int));
9		printf("#define _ast_sizeof_long	%d\n", sizeof(long));
10		printf("#define _ast_sizeof_intmax_t	%d\n", sizeof(_ast_intmax_t));
11		return 0;
12	}
13}end
14