tests/lint: document where to find the test results for promotions
This commit is contained in:
parent
ce38ef24bf
commit
e1fea1d661
|
@ -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 @@ struct arithmetic_types {
|
|||
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' */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
0sexpr_promote.c
|
||||
Sexpr_promote.c
|
||||
10d0.10e4sinkF2PcCEV
|
||||
58c0.58i4sinkf20PcCBIIIIIIuILuLQuQDDlDsXXlXeT331.0.0V
|
||||
59c0.59i4sinkf20PcCBIIIIIIuILuLQuQDDlDsXXlXeT331.0.0V
|
||||
37d0.37d6callerF1PsT116arithmetic_typesV
|
||||
|
|
|
@ -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 @@ struct arithmetic_types {
|
|||
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' */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue