xref: /csrg-svn/old/pcc/ccom.tahoe/tests/dev.c (revision 44033)
1*44033Sbostic typedef	unsigned short dev_t;
2*44033Sbostic 
main()3*44033Sbostic main()
4*44033Sbostic {
5*44033Sbostic 	dev_t x = (dev_t)(-1);
6*44033Sbostic 
7*44033Sbostic 	if (x == (dev_t)(-1))
8*44033Sbostic 		printf("ok\n");
9*44033Sbostic 	else
10*44033Sbostic 		printf("nope\n");
11*44033Sbostic }
12