1// This file contains various failure test cases related to the structure of 2// the dialect section. 3 4//===--------------------------------------------------------------------===// 5// Dialect Name 6//===--------------------------------------------------------------------===// 7 8// RUN: not mlir-opt %S/invalid-dialect_section-dialect_string.mlirbc 2>&1 | FileCheck %s --check-prefix=DIALECT_STR 9// DIALECT_STR: invalid string index: 15 10 11//===--------------------------------------------------------------------===// 12// OpName 13//===--------------------------------------------------------------------===// 14 15// RUN: not mlir-opt %S/invalid-dialect_section-opname_dialect.mlirbc 2>&1 | FileCheck %s --check-prefix=OPNAME_DIALECT 16// OPNAME_DIALECT: invalid dialect index: 7 17 18// RUN: not mlir-opt %S/invalid-dialect_section-opname_string.mlirbc 2>&1 | FileCheck %s --check-prefix=OPNAME_STR 19// OPNAME_STR: invalid string index: 31 20