summaryrefslogtreecommitdiff
path: root/tests/array-global.c
blob: 6af221674c2508a802ca0a195523dfbb219693b1 (plain)
1
2
3
4
5
6
7
8
int n = 4;
int a[] = {5, 4, 3, 2};
int one[1] = {0, 2};
int two[2] = {9, 8};
int main(){
    // Should return 5 + 8 = 13 (0xd)
    return *a + two[1];
}