mirror of
https://github.com/github/codeql.git
synced 2026-02-23 18:33:42 +01:00
24 lines
270 B
C++
24 lines
270 B
C++
typedef struct {
|
|
int x : 24;
|
|
} my_struct;
|
|
|
|
int getX1(my_struct m) {
|
|
return m.x;
|
|
}
|
|
|
|
short getX2(my_struct m) {
|
|
return m.x;
|
|
}
|
|
|
|
short getX3(my_struct m) {
|
|
return (short) m.x;
|
|
}
|
|
|
|
bool getX4(my_struct m) {
|
|
return m.x;
|
|
}
|
|
|
|
short getX5(my_struct m) {
|
|
return (char) m.x;
|
|
}
|