fix Issue 12312 - Diagnostic for void static arrays has gone bad
Merge pull request #3428 from 9rnsr/fix12312

[REG2.064] Issue 12312 - Diagnostic for void static arrays has gone bad