20 lines · plain
1// This file contains various failure test cases related to the structure of2// the dialect section.3 4//===--------------------------------------------------------------------===//5// Dialect Name6//===--------------------------------------------------------------------===//7 8// RUN: not mlir-opt %S/invalid-dialect_section-dialect_string.mlirbc 2>&1 | FileCheck %s --check-prefix=DIALECT_STR9// DIALECT_STR: invalid string index: 1510 11//===--------------------------------------------------------------------===//12// OpName13//===--------------------------------------------------------------------===//14 15// RUN: not mlir-opt %S/invalid-dialect_section-opname_dialect.mlirbc 2>&1 | FileCheck %s --check-prefix=OPNAME_DIALECT16// OPNAME_DIALECT: invalid dialect index: 717 18// RUN: not mlir-opt %S/invalid-dialect_section-opname_string.mlirbc 2>&1 | FileCheck %s --check-prefix=OPNAME_STR19// OPNAME_STR: invalid string index: 3120