aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/usual-conv-lp32.c
blob: 7f91288e154a503b11d18f75e0d48411927b866f (plain)
1
2
3
4
5
6
7
8
9
10
11
extern long l;
extern unsigned int u;

#if __SIZEOF_LONG__ == __SIZEOF_INT__
_Static_assert([typeof(l + u)] == [unsigned long], "ulong");
#endif

/*
 * check-name: usual-conversions
 * check-command: sparse -m32 $file
 */