YouCompleteMe/cpp/llvm/test/TableGen/BitsInitOverflow.td
2012-07-05 17:51:06 -07:00

6 lines
100 B
TableGen

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