mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Adding a simple test case in the hope that commit-diffs.pl will pick this up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5773 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
14
test/Transforms/ModuloSched/array-simple.c
Normal file
14
test/Transforms/ModuloSched/array-simple.c
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main (int argc, char** argv) {
|
||||||
|
int a[25];
|
||||||
|
|
||||||
|
for (i=0; i < 25; i++) {
|
||||||
|
a[i] = 24-i;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=0; i < 25; i++)
|
||||||
|
printf("a[%d] = %d\n", i, a[i]);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Reference in New Issue
Block a user