| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
|---|---|
| 2 | |
| 3 | |
| 4 | typedef struct { |
| 5 | unsigned long val; |
| 6 | } structty; |
| 7 | |
| 8 | void bar(structty new_mask); |
| 9 | static void foo() { |
| 10 | bar(({ structty mask; mask; })); |
| 11 | } |
| 12 | |
| 13 |
| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
|---|---|
| 2 | |
| 3 | |
| 4 | typedef struct { |
| 5 | unsigned long val; |
| 6 | } structty; |
| 7 | |
| 8 | void bar(structty new_mask); |
| 9 | static void foo() { |
| 10 | bar(({ structty mask; mask; })); |
| 11 | } |
| 12 | |
| 13 |