mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-01-11 20:30:08 +00:00
Added missing C-file.
This commit is contained in:
parent
b02215e723
commit
abb12deed9
9
src/test/kc/inner-index-problem.c
Normal file
9
src/test/kc/inner-index-problem.c
Normal file
@ -0,0 +1,9 @@
|
||||
// Demonstrates a problem with inner indexes into arrays where the elemt size>1
|
||||
|
||||
unsigned int v[5];
|
||||
unsigned int x[5];
|
||||
|
||||
void main() {
|
||||
for(char i=0;i<5;i++)
|
||||
x[i] += ( v[i] += 5 );
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user