[RISCV] Add RVVConstraint to SiFive custom matrix multiply instructions. (#124055)
[llvm-project.git] / compiler-rt / test / asan / TestCases / Windows / bitfield.cpp
blob1ed04768e9682ab5b114dbed0a73d825410406d1
1 // RUN: %clang_cl_asan %Od %s %Fe%t
2 // RUN: %run %t
4 #include <windows.h>
6 typedef struct _S {
7 unsigned int bf1:1;
8 unsigned int bf2:2;
9 unsigned int bf3:3;
10 unsigned int bf4:4;
11 } S;
13 int main(void) {
14 S *s = (S*)malloc(sizeof(S));
15 s->bf1 = 1;
16 s->bf2 = 2;
17 s->bf3 = 3;
18 s->bf4 = 4;
19 free(s);
20 return 0;