repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove a dead bool.
[llvm/avr.git]
/
test
/
FrontendC++
/
2003-09-30-NestedFunctionDecl.cpp
blob
94c11998963babd33e348524bc40866f980b8cab
1
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3
// The C++ front-end thinks the two foo's are different, the LLVM emitter
4
// thinks they are the same. The disconnect causes problems.
5
6
void
foo
() { }
7
8
void
bar
() {
9
void
foo
();
10
11
foo
();
12
}