mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 15:11:39 +00:00
PR244: [llvm-gcc] miscompilation when a function is re-declared as static
llvm-svn: 11661
This commit is contained in:
parent
16a18d203e
commit
0d08cf120b
@ -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…
x
Reference in New Issue
Block a user