From eaad036407c9546be0de27f61745fef4b6856e56 Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 29 May 2023 20:34:16 +0000 Subject: deploy: d2013ee5952bbcf88906a832748783e372f3a939 --- development/gcov/cov.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 development/gcov/cov.cc (limited to 'development/gcov/cov.cc') diff --git a/development/gcov/cov.cc b/development/gcov/cov.cc new file mode 100644 index 0000000..3737d81 --- /dev/null +++ b/development/gcov/cov.cc @@ -0,0 +1,17 @@ +// Copyright (C) 2023 johannst + +#include + +void tell_me(int desc) { + if (desc & 1) { + std::puts("this"); + } else { + std::puts("that"); + } +} + +int main(int argc, char *argv[]) { + tell_me(argc); + tell_me(argc); + return 0; +} -- cgit v1.2.3