Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c,v rcsdiff: /ftp/cvs/cvsroot/src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.19 retrieving revision 1.20 diff -u -p -r1.19 -r1.20 --- src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c 2021/02/20 18:49:26 1.19 +++ src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c 2021/02/20 18:52:58 1.20 @@ -1,4 +1,4 @@ -/* $NetBSD: d_c99_bool_strict.c,v 1.19 2021/02/20 18:49:26 rillig Exp $ */ +/* $NetBSD: d_c99_bool_strict.c,v 1.20 2021/02/20 18:52:58 rillig Exp $ */ # 3 "d_c99_bool_strict.c" /* @@ -740,3 +740,19 @@ bool_as_array_index(bool cond) println(repr[cond]); /* expect: 337 */ println(cond ? "yes" : "no"); } + +void +do_while_false(void) +{ + do { + + } while (__lint_false); /*FIXME*//* expect: 161 */ +} + +void +do_while_true(void) +{ + do { + + } while (__lint_true); /* expect: 161 */ +}