Add negative parsing tests using mlir-opt.

Add parsing tests with errors. Follows direct path of splitting file into test groups (using a marker) and parsing each section individually. The expected errors are checked using FileCheck and parser error does not result in terminating parsing the rest of the file if check-parser-error.

This is an interim approach until refactoring lexer/parser.

PiperOrigin-RevId: 201867941
2 files changed
tree: 939182ed51b201f4995fd9736043123579e88e7e
  1. include/
  2. lib/
  3. test/
  4. tools/
  5. LICENSE.TXT