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

Tree @d80222a (Download .tar.gz)

BitsInitOverflow.td @d80222araw · 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
}