llvm.org GIT mirror llvm / release_31 test / TableGen / BitsInitOverflow.td
release_31

Tree @release_31 (Download .tar.gz)

BitsInitOverflow.td @release_31raw · history · blame

1
2
3
4
5
// RUN: not llvm-tblgen %s 2> /dev/null

def {
  bits<2> X = 5;  // bitfield is too small, reject
}