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