Browse Source

Updated the test

Samuel W. Flint 7 năm trước cách đây
mục cha
commit
b0f3dcffa7
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      main.c

+ 3 - 0
main.c

@@ -33,4 +33,7 @@ int main(int argc, char **argv)
   addToHook(theHook, printC);
   printf("With printA, printB and printC:\n");
   runHook(theHook);
+  addToHook(theHook, printA);
+  printf("With printA, printB, printC and printB:\n");
+  runHook(theHook);
 }