8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions optionReviewed-by: attila, hannesw