PR244: [llvm-gcc] miscompilation when a function is re-declared as static

llvm-svn: 11661
This commit is contained in:
Chris Lattner 2004-02-20 17:32:24 +00:00
parent efe8a37506
commit 40a22000e4
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep declare
int one (int a) {
two (a, 5);
return 0;
}
static int two (int a, int b) {
}