Browse Source

Updated the test

Samuel W. Flint 7 years ago
parent
commit
b0f3dcffa7
1 changed files with 3 additions and 0 deletions
  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);
 }