fix Issue 12436 - Opaque struct parameter type should not be allowed