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

Tree @release_27 (Download .tar.gz)

BitsInitOverflow.td @release_27raw · history · blame

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

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