1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 22:42:52 +01:00
llvm-mirror/test/Regression/C++Frontend/2003-09-30-NestedFunctionDecl.cpp
Chris Lattner 556f12d3ce New fixed bug, distilled from 252.eon
llvm-svn: 8761
2003-09-30 15:40:25 +00:00

11 lines
194 B
C++

// 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();
}