circt/test/Target/ExportSMTLIB/integer-errors.mlir

8 lines
248 B
MLIR

// RUN: circt-translate --export-smtlib %s --split-input-file --verify-diagnostics
smt.solver () : () -> () {
%0 = smt.int.constant 5
// expected-error @below {{operation not supported for SMTLIB emission}}
%1 = smt.int2bv %0 : !smt.bv<4>
}