blob: 042c6e69a4af5476396ac6f6d1b687ee93f5a26a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* $NetBSD: msg_248.c,v 1.5 2023/03/28 14:44:35 rillig Exp $ */
# 3 "msg_248.c"
// Test for message: floating-point constant out of range [248]
/* lint1-extra-flags: -X 351 */
float fits_flt = 1e37f;
/* expect+1: warning: floating-point constant out of range [248] */
float too_large_flt = 1e40f;
double fits_dbl = 1e300;
/* expect+1: warning: floating-point constant out of range [248] */
double too_large_dbl = 1e310;
|