| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
|---|---|
| 2 | |
| 3 | /* test that locals are renamed with . notation */ |
| 4 | |
| 5 | void abc(void *); |
| 6 | |
| 7 | void Test5(double X) { |
| 8 | abc(&X); |
| 9 | { |
| 10 | int X; |
| 11 | abc(&X); |
| 12 | { |
| 13 | float X; |
| 14 | abc(&X); |
| 15 | } |
| 16 | } |
| 17 | } |
| 18 | |
| 19 |
| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
|---|---|
| 2 | |
| 3 | /* test that locals are renamed with . notation */ |
| 4 | |
| 5 | void abc(void *); |
| 6 | |
| 7 | void Test5(double X) { |
| 8 | abc(&X); |
| 9 | { |
| 10 | int X; |
| 11 | abc(&X); |
| 12 | { |
| 13 | float X; |
| 14 | abc(&X); |
| 15 | } |
| 16 | } |
| 17 | } |
| 18 | |
| 19 |