summaryrefslogtreecommitdiff
path: root/test/FrontendC/2002-02-16-RenamingTest.c
blob: 6042b67dc0cff5c736be42722b096b2b2684de6b (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 -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);
    }
  }
}