]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - tests/clight/testTB_Array_lecture.c.expected
Package description and copyright added.
[pkg-cerco/acc.git] / tests / clight / testTB_Array_lecture.c.expected
1 int t[5] = {1,2,3,5,8};\r
2 \r
3 int array_lecture (int tablec[], int i, int j) {\r
4         int a, b;\r
5 \r
6         a = tablec[i];\r
7         b = tablec[j];\r
8 \r
9         return a+b;\r
10 }\r
11 \r
12 int main(){\r
13         return array_lecture(t,0,4);\r
14 }\r