Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / designated-init.c.h
blob8a524ae1e971fa047ab6928a7fe104d2ce0f8d7c
1 static void *FooToken = &FooToken;
2 static void *FooTable[256] = {
3 [0x3] = (void *[256]) { // 1
4 [0x5b] = (void *[256]) { // 2
5 [0x81] = (void *[256]) { // 3
6 [0x42] = (void *[256]) { // 4
7 [0xa2] = (void *[256]) { // 5
8 [0xe] = (void *[256]) { // 6
9 [0x20] = (void *[256]) { // 7
10 [0xd7] = (void *[256]) { // 8
11 [0x39] = (void *[256]) { // 9
12 [0xf1] = (void *[256]) { // 10
13 [0xa4] = (void *[256]) { // 11
14 [0xa8] = (void *[256]) { // 12
15 [0x21] = (void *[256]) { // 13
16 [0x86] = (void *[256]) { // 14
17 [0x1d] = (void *[256]) { // 15
18 [0xdc] = (void *[256]) { // 16
19 [0xa5] = (void *[256]) { // 17
20 [0xef] = (void *[256]) { // 18
21 [0x9] = (void *[256]) { // 19
22 [0x34] = &FooToken,
44 struct P1 {
45 struct Q1 {
46 char a[6];
47 char b[6];
48 } q;
51 struct P1 l1 = {
52 (struct Q1){ "foo", "bar" },
53 .q.b = { "boo" },
54 .q.b = { [1] = 'x' }
57 extern struct Q1 *foo(void);
58 static struct P1 test_foo(void) {
59 struct P1 l = { *foo(),
60 .q.b = { "boo" },
61 .q.b = { [1] = 'x' }
63 return l;