blob: e65706b024db88105fa283da3b3956d703d673dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#define BIGU 0xfffff00000000000U
#define BIGUL 0xfffff00000000000UL
static unsigned long a = BIGU;
static unsigned long b = BIGUL;
/*
* check-name: constant-suffix
* check-command: sparse -m64 -Wconstant-suffix $file
*
* check-error-start
constant-suffix-64.c:4:26: warning: constant 0xfffff00000000000U is so big it is unsigned long
* check-error-end
*/
|