bolt/deps/llvm-18.1.8/clang/test/Sema/unnamed-bitfield-init.c

8 lines
143 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
typedef struct {
int a; int : 24; char b;
} S;
S a = { 1, 2 };