date and time created 90/06/25 14:58:13 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 26 Jun 1990 05:58:13 +0000 (21:58 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 26 Jun 1990 05:58:13 +0000 (21:58 -0800)
SCCS-vsn: old/pcc/ccom.tahoe/tests/dev.c 5.1

usr/src/old/pcc/ccom.tahoe/tests/dev.c [new file with mode: 0644]

diff --git a/usr/src/old/pcc/ccom.tahoe/tests/dev.c b/usr/src/old/pcc/ccom.tahoe/tests/dev.c
new file mode 100644 (file)
index 0000000..4933dba
--- /dev/null
@@ -0,0 +1,11 @@
+typedef        unsigned short dev_t;
+
+main()
+{
+       dev_t x = (dev_t)(-1);
+
+       if (x == (dev_t)(-1))
+               printf("ok\n");
+       else
+               printf("nope\n");
+}