blob: 3cedb209fb8951f90a23a15bbbe8bbdd43c334cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* $OpenBSD: test-16.c,v 1.1 2006/03/20 05:06:37 cloder Exp $ */
/*
* Placed in the public domain by Chad Loder <cloder@openbsd.org>.
*
* Test lint dealing with cascaded ==
*/
#include <sys/types.h>
/* ARGSUSED */
int
main(int argc, char* argv[])
{
mode_t mode;
mode = (mode_t)argc;
if ((((mode) & 0170000) == 0100000) == 0)
return 1;
return 0;
}
|