t / t4109 / expect-2on commit commit-graph: error out on invalid commit oids in 'write --stdin-commits' (7c5c9b9)
   1#include <stdio.h>
   2
   3int func(int num);
   4void print_int(int num);
   5
   6int main() {
   7        int i;
   8
   9        for (i = 0; i < 10; i++) {
  10                print_int(func(i));
  11        }
  12
  13        return 0;
  14}
  15
  16int func(int num) {
  17        return num * num;
  18}
  19
  20void print_int(int num) {
  21        printf("%d", num);
  22}
  23