1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
llvm-mirror/test/Regression/C++Frontend/2003-09-30-NestedFunctionDecl.cpp
Misha Brukman 53e199440e Remove trailing whitespace
llvm-svn: 21427
2005-04-21 23:48:37 +00:00

13 lines
247 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();
}