forked from OSchip/llvm-project
16 lines
182 B
C
16 lines
182 B
C
|
#define N 1024
|
||
|
float A[N];
|
||
|
float B[N];
|
||
|
|
||
|
void simple_vec_const(void) {
|
||
|
int i;
|
||
|
|
||
|
for (i = 0; i < 4; i++)
|
||
|
B[i] = A[i] + i;
|
||
|
}
|
||
|
int main()
|
||
|
{
|
||
|
simple_vec_const();
|
||
|
return A[42];
|
||
|
}
|