Check that a range mismatch is detected for non-ANSI module ports when port direction and data type are declared separately. An error should be reported and no crash should occur. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>