Added testcase for (now working) ticket #4742.
Merge pull request #149 from simartin/ticked_4742_testcase

Testcase for ticked 4742 (cppcheck hangs on template code)