Files
clang-p2996/llvm/test/Regression/C++Frontend/2003-09-30-NestedFunctionDecl.cpp
Tanya Lattner d9a3cebc49 Adding RUN lines.
llvm-svn: 17529
2004-11-06 22:29:57 +00:00

13 lines
249 B
C++

// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
// 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();
}