diff --git a/llvm/test/Regression/CFrontend/2002-02-16-RenamingTest.c b/llvm/test/Regression/CFrontend/2002-02-16-RenamingTest.c new file mode 100644 index 000000000000..47931b3a01a3 --- /dev/null +++ b/llvm/test/Regression/CFrontend/2002-02-16-RenamingTest.c @@ -0,0 +1,16 @@ +/* test that locals are renamed with . notation */ + +void abc(void *); + +void Test5(double X) { + abc(&X); + { + int X; + abc(&X); + { + float X; + abc(&X); + } + } +} +