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/msg_054.c,v rcsdiff: /ftp/cvs/cvsroot/src/tests/usr.bin/xlint/lint1/msg_054.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- src/tests/usr.bin/xlint/lint1/msg_054.c 2021/01/02 10:22:43 1.1 +++ src/tests/usr.bin/xlint/lint1/msg_054.c 2021/01/08 21:25:03 1.2 @@ -1,7 +1,12 @@ -/* $NetBSD: msg_054.c,v 1.1 2021/01/02 10:22:43 rillig Exp $ */ +/* $NetBSD: msg_054.c,v 1.2 2021/01/08 21:25:03 rillig Exp $ */ # 3 "msg_054.c" -// Test for message: trailing ',' prohibited in enum declaration [54] +/* Test for message: trailing ',' prohibited in enum declaration [54] */ -TODO: "Add example code that triggers the above message." -TODO: "Add example code that almost triggers the above message." +/* lint1-flags: -tw */ + +enum color { + RED, + GREEN, + BLUE, +};