aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2002-02-16-RenamingTest.c
blob: 952af90c87ef7f9432b94f44a22e455c6a676bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: %llvmgcc -S %s -o - | llvm-as -f -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);
    }
  }
}