mirror of
https://github.com/github/codeql.git
synced 2026-05-11 01:39:28 +02:00
6 lines
209 B
C++
6 lines
209 B
C++
struct {
|
|
int s : 4; //wrong: behavior of bit-field members with implicit signage vary across compilers
|
|
unsigned int : 24; //correct: explicitly unsigned
|
|
signed int : 4; //correct: explicitly signed
|
|
} bits;
|