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