From 6374a522532eca81f4bc038cc4c5e36c3e5fd5be Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 17 Feb 2002 06:42:02 +0000 Subject: New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1768 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2002-02-16-RenamingTest.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/CFrontend/2002-02-16-RenamingTest.c (limited to 'test') 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); + } + } +} + -- cgit v1.2.3