Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/xlint/lint1 lint: add machine-readable expecta...
details: https://anonhg.NetBSD.org/src/rev/a83594e74830
branches: trunk
changeset: 959620:a83594e74830
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Feb 20 16:55:32 2021 +0000
description:
lint: add machine-readable expectations to test for initializer
diffstat:
tests/usr.bin/xlint/lint1/d_init_pop_member.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r e182de0145d7 -r a83594e74830 tests/usr.bin/xlint/lint1/d_init_pop_member.c
--- a/tests/usr.bin/xlint/lint1/d_init_pop_member.c Sat Feb 20 16:51:18 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/d_init_pop_member.c Sat Feb 20 16:55:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: d_init_pop_member.c,v 1.4 2021/02/20 16:51:18 rillig Exp $ */
+/* $NetBSD: d_init_pop_member.c,v 1.5 2021/02/20 16:55:32 rillig Exp $ */
# 3 "d_init_pop_member.c"
/*
@@ -45,7 +45,7 @@
* Before init.c 1.52 from 2020-01-01:
* wrong "warning: bit-field initializer does not fit [180]"
*/
- .capital.mayor.favorite_color.green = 0xFF,
+ .capital.mayor.favorite_color.green = 0xFF, /*FIXME*//* expect: 101 */
/*
* Since 2015-07-28:
* wrong "undefined struct/union member: capital [101]"
@@ -55,5 +55,5 @@
* wrong "warning: bit-field initializer does not fit [180]"
*/
.capital.mayor.favorite_color.red = 0xFF
- };
+ }; /*FIXME*//* expect: 101 */
}
Home |
Main Index |
Thread Index |
Old Index