#!/usr/bin/env bash

. ../common.sh

init "simple C++ line coverage test"

compile_cxx foo.cc
link foo foo.o

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

run_gcov foo.cc
run_tggcov foo.cc
compare_lines foo.cc
compare_counts foo.cc
