cpp extension of d_do_test.d (need for #2074)
fix Issue 4841 - -inline wrecks certain nested structs causing error "*** is a nested function and cannot be accessed from ***"
Merge pull request #2334 from IgorStepanov/cpptest

cpp extension of d_do_test.d (need for #2074)
Merge pull request #2329 from 9rnsr/fix4841

Issue 4841 - -inline wrecks certain nested structs causing error "*** is a nested function and cannot be accessed from ***"