mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
d14e9e78e4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65771 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
148 B
C
8 lines
148 B
C
// RUN: %llvmgcc -S %s -o - | grep {getelementptr \\\[0 x i32\\\]}
|
|
extern void f(int *);
|
|
int e(int m, int n) {
|
|
int x[n];
|
|
f(x);
|
|
return x[m];
|
|
}
|