minix/external/bsd/llvm/dist/clang/test/Sema/unnamed-bitfield-init.c

8 lines
143 B
C
Raw Normal View History

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