mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
c28e3c3880
test case for the CVS commit-diffs.pl script which should show the entire contents of this file below: git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5772 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
254 B
C
18 lines
254 B
C
#include <stdio.h>
|
|
|
|
int main (int argc, char** argv) {
|
|
int i, a[25];
|
|
a[0] = 1;
|
|
|
|
for (i=1; i < 24; i++) {
|
|
a[i-1] += i;
|
|
a[i] = 5;
|
|
a[i+1] = a[i] + a[i-1];
|
|
}
|
|
|
|
for (i=0; i < 25; i++)
|
|
printf("a[%d] = %d\n", i, a[i]);
|
|
|
|
return 0;
|
|
}
|