PR244: [llvm-gcc] miscompilation when a function is re-declared as static
llvm-svn: 11661
This commit is contained in:
parent
efe8a37506
commit
40a22000e4
|
@ -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) {
|
||||||
|
}
|
Loading…
Reference in New Issue