18 lines · c
1// RUN: %clang_cc1 -O3 -emit-llvm -o - %s2// PR954, PR9113 4extern void foo(void);5 6struct S {7 short f1[3];8 unsigned int f2 : 1;9};10 11void bar(void)12{13 struct S *A;14 15 if (A->f2)16 foo();17}18 1// RUN: %clang_cc1 -O3 -emit-llvm -o - %s2// PR954, PR9113 4extern void foo(void);5 6struct S {7 short f1[3];8 unsigned int f2 : 1;9};10 11void bar(void)12{13 struct S *A;14 15 if (A->f2)16 foo();17}18