diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-09-30 15:40:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-09-30 15:40:25 +0000 |
| commit | 5ed714d76d36f4a019ab0d51e66fd3e29370b9a1 (patch) | |
| tree | cd9be78ff872ffc3941ffc893a91d927ebadda8c /llvm/test/Regression/C++Frontend/2003-09-30-NestedFunctionDecl.cpp | |
| parent | 484f2c74423ea1b6f3ef11d939806289a8463861 (diff) | |
| download | bcm5719-llvm-5ed714d76d36f4a019ab0d51e66fd3e29370b9a1.tar.gz bcm5719-llvm-5ed714d76d36f4a019ab0d51e66fd3e29370b9a1.zip | |
New fixed bug, distilled from 252.eon
llvm-svn: 8761
Diffstat (limited to 'llvm/test/Regression/C++Frontend/2003-09-30-NestedFunctionDecl.cpp')
| -rw-r--r-- | llvm/test/Regression/C++Frontend/2003-09-30-NestedFunctionDecl.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Regression/C++Frontend/2003-09-30-NestedFunctionDecl.cpp b/llvm/test/Regression/C++Frontend/2003-09-30-NestedFunctionDecl.cpp new file mode 100644 index 00000000000..77f6b1f259a --- /dev/null +++ b/llvm/test/Regression/C++Frontend/2003-09-30-NestedFunctionDecl.cpp @@ -0,0 +1,10 @@ +// The C++ front-end thinks the two foo's are different, the LLVM emitter +// thinks they are the same. The disconnect causes problems. + +void foo() { } + +void bar() { + void foo(); + + foo(); +} |

