summaryrefslogtreecommitdiff
path: root/test/CFrontend/2002-02-16-RenamingTest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CFrontend/2002-02-16-RenamingTest.c')
-rw-r--r--test/CFrontend/2002-02-16-RenamingTest.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CFrontend/2002-02-16-RenamingTest.c b/test/CFrontend/2002-02-16-RenamingTest.c
new file mode 100644
index 0000000000..47931b3a01
--- /dev/null
+++ b/test/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);
+ }
+ }
+}
+