11 lines
201 B
C
11 lines
201 B
C
// RUN: clang -checker-cfref %s -verify &&
|
|
// RUN: clang -checker-simple %s -verify
|
|
|
|
unsigned foo();
|
|
typedef struct bf { unsigned x:2; } bf;
|
|
void bar() {
|
|
bf y;
|
|
*(unsigned*)&y = foo();
|
|
y.x = 1;
|
|
}
|