1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
---|---|
2 | |
3 | |
4 | typedef struct Connection_Type { |
5 | long to; |
6 | char type[10]; |
7 | long length; |
8 | } Connection; |
9 | |
10 | Connection link[3] |
11 | = { {1, "link1", 10}, |
12 | {2, "link2", 20}, |
13 | {3, "link3", 30} }; |
14 | |
15 |
1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
---|---|
2 | |
3 | |
4 | typedef struct Connection_Type { |
5 | long to; |
6 | char type[10]; |
7 | long length; |
8 | } Connection; |
9 | |
10 | Connection link[3] |
11 | = { {1, "link1", 10}, |
12 | {2, "link2", 20}, |
13 | {3, "link3", 30} }; |
14 | |
15 |