llvm-project/llvm/test/TableGen/BitsInitOverflow.td

6 lines
82 B
TableGen

// RUN: not tblgen %s
def {
bits<2> X = 5; // bitfield is too small, reject
}