Module Name:    src
Committed By:   rillig
Date:           Sun Jul  4 13:32:35 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint1: msg_004.c

Log Message:
tests/lint: document why lint does not need to detect wrong types


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_004.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/xlint/lint1/msg_004.c
diff -u src/tests/usr.bin/xlint/lint1/msg_004.c:1.4 src/tests/usr.bin/xlint/lint1/msg_004.c:1.5
--- src/tests/usr.bin/xlint/lint1/msg_004.c:1.4	Mon Apr  5 01:35:34 2021
+++ src/tests/usr.bin/xlint/lint1/msg_004.c	Sun Jul  4 13:32:35 2021
@@ -1,9 +1,9 @@
-/*	$NetBSD: msg_004.c,v 1.4 2021/04/05 01:35:34 rillig Exp $	*/
+/*	$NetBSD: msg_004.c,v 1.5 2021/07/04 13:32:35 rillig Exp $	*/
 # 3 "msg_004.c"
 
 // Test for message: illegal type combination [4]
 
-// XXX: this goes undetected
+// Lint does not detect "two or more data types", but GCC does.
 signed double signed_double;
 
 int ok_int;

Reply via email to