| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
|---|---|
| 2 | |
| 3 | struct S { |
| 4 | int i; |
| 5 | short s1, s2; |
| 6 | }; |
| 7 | |
| 8 | struct S func_returning_struct(void); |
| 9 | |
| 10 | void loop(void) { |
| 11 | func_returning_struct(); |
| 12 | } |
| 13 |
| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
|---|---|
| 2 | |
| 3 | struct S { |
| 4 | int i; |
| 5 | short s1, s2; |
| 6 | }; |
| 7 | |
| 8 | struct S func_returning_struct(void); |
| 9 | |
| 10 | void loop(void) { |
| 11 | func_returning_struct(); |
| 12 | } |
| 13 |