cpp extension of d_do_test.d (need for #2074)
Merge pull request #2334 from IgorStepanov/cpptest

cpp extension of d_do_test.d (need for #2074)