| 1 | // RUN: %clang_cc1 -emit-llvm %s -o - |
|---|---|
| 2 | |
| 3 | int test(void* i) |
| 4 | { |
| 5 | return (int)i; |
| 6 | } |
| 7 | |
| 8 | // rdar://6093986 |
| 9 | int test2(void) { |
| 10 | float x[2]; |
| 11 | return x; |
| 12 | } |
| 13 | |
| 14 |
| 1 | // RUN: %clang_cc1 -emit-llvm %s -o - |
|---|---|
| 2 | |
| 3 | int test(void* i) |
| 4 | { |
| 5 | return (int)i; |
| 6 | } |
| 7 | |
| 8 | // rdar://6093986 |
| 9 | int test2(void) { |
| 10 | float x[2]; |
| 11 | return x; |
| 12 | } |
| 13 | |
| 14 |