Parcourir la source

testing arrays

tarfeef101 il y a 6 ans
Parent
commit
7f9e85b929
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      kern/synchprobs/traffic_synch.c

+ 2 - 0
kern/synchprobs/traffic_synch.c

@@ -25,6 +25,8 @@ int * northa;
 int * easta;
 int * southa;
 int * westa;
+int test[5] = {0,0,0,0,0};
+kprintf("test success, %d", test[0]);
 
 // car initializer/allocator
 static car * newcar(Direction origin, Direction dest)