summaryrefslogtreecommitdiff
path: root/test/CodeGen/2002-02-16-RenamingTest.c
blob: bb23e680f25af0272b032218a01bb7b1b1d1fd9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

/* test that locals are renamed with . notation */

void abc(void *);

void Test5(double X) {
  abc(&X);
  {
    int X;
    abc(&X);
    {
      float X;
      abc(&X);
    }
  }
}