aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/unnamed-bitfield-init.c
blob: 6fa18014179ed14f3790d03b8253e256f4eff31d (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
typedef struct {
        int a; int : 24; char b;
} S;

S a = { 1, 2 };