blob: 94c11998963babd33e348524bc40866f980b8cab [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
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
6void foo() { }
7
8void bar() {
9 void foo();
10
11 foo();
12}