New fixed bug, distilled from 252.eon
[oota-llvm.git] / test / C++Frontend / 2003-09-30-NestedFunctionDecl.cpp
1 // The C++ front-end thinks the two foo's are different, the LLVM emitter 
2 // thinks they are the same.  The disconnect causes problems.
3
4 void foo() { }
5
6 void bar() {
7   void foo();
8  
9   foo();
10 }