fix Issue 4247 - Cannot create default-constructed struct on heap when constructor is defined
Merge pull request #1898 from 9rnsr/fix4247

Issue 4247 - Cannot create default-constructed struct on heap when constructor is defined