YouCompleteMe/cpp/llvm/test/TableGen/BitsInitOverflow.td

6 lines
100 B
TableGen
Raw Normal View History

2012-07-05 20:51:06 -04:00
// RUN: not llvm-tblgen %s 2> /dev/null
def {
bits<2> X = 5; // bitfield is too small, reject
}