diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-17 06:42:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-17 06:42:02 +0000 |
commit | 6374a522532eca81f4bc038cc4c5e36c3e5fd5be (patch) | |
tree | 3b4fb2a661e3cd484884836bb60fd23342f8331c /test | |
parent | 868c2d3c05d9a74608448056d049f1bddd9e6219 (diff) | |
download | llvm-6374a522532eca81f4bc038cc4c5e36c3e5fd5be.tar.gz llvm-6374a522532eca81f4bc038cc4c5e36c3e5fd5be.tar.bz2 llvm-6374a522532eca81f4bc038cc4c5e36c3e5fd5be.tar.xz |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CFrontend/2002-02-16-RenamingTest.c | 16 |
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); + } + } +} + |