New testcase
authorChris Lattner <sabre@nondot.org>
Sun, 17 Feb 2002 06:42:02 +0000 (06:42 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 17 Feb 2002 06:42:02 +0000 (06:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1768 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2002-02-16-RenamingTest.c [new file with mode: 0644]

diff --git a/test/CFrontend/2002-02-16-RenamingTest.c b/test/CFrontend/2002-02-16-RenamingTest.c
new file mode 100644 (file)
index 0000000..47931b3
--- /dev/null
@@ -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);
+    }
+  }
+}
+