xref: /netbsd-src/tests/usr.bin/xlint/lint1/platform_ldbl64.c (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
1 /*	$NetBSD: platform_ldbl64.c,v 1.3 2023/02/22 22:12:35 rillig Exp $	*/
2 # 3 "platform_ldbl64.c"
3 
4 /*
5  * Test features that only apply to platforms that have 64-bit long double.
6  */
7 
8 /* lint1-extra-flags: -c -h -a -p -b -r -z */
9 /* lint1-only-if: ldbl-64 */
10 
11 /* CONSTCOND */
12 typedef int bits_per_byte[((unsigned char)-1) == 255 ? 1 : -1];
13 typedef int bytes_per_long_double[sizeof(long double) == 8 ? 1 : -1];
14