tests/lint: fix test c11_generic_expression on ILP32
These platforms don't provide __uint128_t, at least not in lint. The exact data type does not matter in this test, it just has to be different from 'int'.
This commit is contained in:
parent
9584483cb0
commit
01fc44ed45
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: c11_generic_expression.c,v 1.9 2021/08/01 13:09:38 rillig Exp $ */
|
||||
/* $NetBSD: c11_generic_expression.c,v 1.10 2021/08/01 21:12:31 rillig Exp $ */
|
||||
# 3 "c11_generic_expression.c"
|
||||
|
||||
/*
|
||||
|
@ -101,6 +101,6 @@ primary_expression(void)
|
|||
* covered by the compilers, so there is no need for lint to double-check it.
|
||||
*/
|
||||
const char *x = _Generic(
|
||||
(__uint128_t)1 + 1.0f,
|
||||
1ULL + 1.0f,
|
||||
int: 1
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue