llvm-project/clang/test/Sema/unnamed-bitfield-init.c

7 lines
111 B
C

// RUN: clang -fsyntax-only -verify %s
typedef struct {
int a; int : 24; char b;
} S;
S a = { 1, 2 };