aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-17 06:42:02 +0000
committerChris Lattner <sabre@nondot.org>2002-02-17 06:42:02 +0000
commit278dfafab278ea804b51f53c4e409b8eb88c4b7c (patch)
tree721a3f0aaf347a084d5e6a73951257aae6863b57
parent4ed4caf44a438382b1b7c44e3dc97a8a32e6764c (diff)
downloadllvm-278dfafab278ea804b51f53c4e409b8eb88c4b7c.zip
llvm-278dfafab278ea804b51f53c4e409b8eb88c4b7c.tar.gz
llvm-278dfafab278ea804b51f53c4e409b8eb88c4b7c.tar.bz2
New testcase
llvm-svn: 1768
-rw-r--r--llvm/test/Regression/CFrontend/2002-02-16-RenamingTest.c16
1 files changed, 16 insertions, 0 deletions
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 0000000..47931b3a
--- /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);
+ }
+ }
+}
+