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

S a = { 1, 2 };