#!/usr/bin/env bash

. ../common.sh

init "inclusion of .c source files into other .c files"

compile_c foo.c
link foo foo.o

run foo 1
run foo 2
run foo 3
run foo 4

run_gcov foo.c
run_tggcov foo.c
compare_lines foo.c
compare_counts foo.c
compare_lines bar.c
compare_counts bar.c
