Home | History | Annotate | Download | only in TableGen
      1 // RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
      2 
      3 // Check that a large integer is not truncated to a small bit sequence.
      4 //
      5 // CHECK: error: Initializer of 'X' in 'anonymous_0' could not be fully resolved:
      6 
      7 def {
      8   bits<2> X = 5;  // bitfield is too small, reject
      9 }
     10