aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/BitsInitOverflow.td
blob: c3f9720c2d3d382fa11a75f98aa281d9cc80deb7 (plain)
1
2
3
4
5
// RUN: not llvm-tblgen %s 2> /dev/null

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