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 tests/lint: document where to find...
details: https://anonhg.NetBSD.org/src/rev/c4168dd47740
branches: trunk
changeset: 372914:c4168dd47740
user: rillig <rillig%NetBSD.org@localhost>
date: Wed Jan 04 05:47:19 2023 +0000
description:
tests/lint: document where to find the test results for promotions
diffstat:
tests/usr.bin/xlint/lint1/expr_promote.c | 3 ++-
tests/usr.bin/xlint/lint1/expr_promote.exp-ln | 2 +-
tests/usr.bin/xlint/lint1/expr_promote_trad.c | 3 ++-
tests/usr.bin/xlint/lint1/expr_promote_trad.exp-ln | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
diffs (54 lines):
diff -r 10834c9fef59 -r c4168dd47740 tests/usr.bin/xlint/lint1/expr_promote.c
--- a/tests/usr.bin/xlint/lint1/expr_promote.c Wed Jan 04 05:32:01 2023 +0000
+++ b/tests/usr.bin/xlint/lint1/expr_promote.c Wed Jan 04 05:47:19 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: expr_promote.c,v 1.2 2021/08/16 20:27:31 rillig Exp $ */
+/* $NetBSD: expr_promote.c,v 1.3 2023/01/04 05:47:19 rillig Exp $ */
# 3 "expr_promote.c"
/*
@@ -36,6 +36,7 @@
void
caller(struct arithmetic_types *arg)
{
+ /* See expr_promote.exp-ln for the resulting types. */
sink("",
arg->boolean, /* gets promoted to 'int' */
arg->plain_char, /* gets promoted to 'int' */
diff -r 10834c9fef59 -r c4168dd47740 tests/usr.bin/xlint/lint1/expr_promote.exp-ln
--- a/tests/usr.bin/xlint/lint1/expr_promote.exp-ln Wed Jan 04 05:32:01 2023 +0000
+++ b/tests/usr.bin/xlint/lint1/expr_promote.exp-ln Wed Jan 04 05:47:19 2023 +0000
@@ -1,5 +1,5 @@
0sexpr_promote.c
Sexpr_promote.c
10d0.10e4sinkF2PcCEV
-58c0.58i4sinkf20PcCBIIIIIIuILuLQuQDDlDsXXlXeT331.0.0V
+59c0.59i4sinkf20PcCBIIIIIIuILuLQuQDDlDsXXlXeT331.0.0V
37d0.37d6callerF1PsT116arithmetic_typesV
diff -r 10834c9fef59 -r c4168dd47740 tests/usr.bin/xlint/lint1/expr_promote_trad.c
--- a/tests/usr.bin/xlint/lint1/expr_promote_trad.c Wed Jan 04 05:32:01 2023 +0000
+++ b/tests/usr.bin/xlint/lint1/expr_promote_trad.c Wed Jan 04 05:47:19 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: expr_promote_trad.c,v 1.2 2021/08/16 20:27:31 rillig Exp $ */
+/* $NetBSD: expr_promote_trad.c,v 1.3 2023/01/04 05:47:19 rillig Exp $ */
# 3 "expr_promote_trad.c"
/*
@@ -35,6 +35,7 @@
caller(arg)
struct arithmetic_types *arg;
{
+ /* See expr_promote_trad.exp-ln for the resulting types. */
sink("",
arg->plain_char, /* gets promoted to 'int' */
arg->unsigned_char, /* gets promoted to 'unsigned int' */
diff -r 10834c9fef59 -r c4168dd47740 tests/usr.bin/xlint/lint1/expr_promote_trad.exp-ln
--- a/tests/usr.bin/xlint/lint1/expr_promote_trad.exp-ln Wed Jan 04 05:32:01 2023 +0000
+++ b/tests/usr.bin/xlint/lint1/expr_promote_trad.exp-ln Wed Jan 04 05:47:19 2023 +0000
@@ -1,5 +1,5 @@
0sexpr_promote_trad.c
Sexpr_promote_trad.c
10d0.10e4sinkFI
-49c0.49s1""i4sinkf12PCIuIIuIIuILuLDDeT330.0.0I
+50c0.50s1""i4sinkf12PCIuIIuIIuILuLDDeT330.0.0I
35d0.35do6callerf1PsT116arithmetic_typesI
Home |
Main Index |
Thread Index |
Old Index