[gdb] Add empty range unit test for gdb::parallel_for_each
authorTom de Vries <tdevries@suse.de>
Fri, 22 Jul 2022 15:18:51 +0000 (17:18 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 22 Jul 2022 15:18:51 +0000 (17:18 +0200)
commit9083a323bc7f7bfbff754e2ce93a3940608e09a2
treed6c76f73c39c927ed1833d8240bc025721f84f3d
parent6577f365ebdee7dda71cb996efa29d3714cbccd0
[gdb] Add empty range unit test for gdb::parallel_for_each

Add a unit test that verifies that we can call gdb::parallel_for_each with an
empty range.

Tested on x86_64-linux.
gdb/unittests/parallel-for-selftests.c