member count. The count returned by numStructUnionElements is the number of initializers that will be consumed, not the number of members to iterate through. Fixes PR2534. llvm-svn: 54601
7 lines
111 B
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 };
|