1 /* $OpenBSD: test-13.c,v 1.1 2005/12/10 19:16:56 cloder Exp $ */
4 * Placed in the public domain by Chad Loder <cloder@openbsd.org>.
6 * Test lint warnings regarding suspicious sizeof use.
15 main(int argc, char *argv[])
20 a = sizeof(argc + 1); /* warn */
21 a = sizeof(1); /* warn */
22 a = sizeof(bars[1]); /* ok */
23 a = sizeof(bar_t); /* ok */