10 lines · plain
1// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s2 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 7def {8 bits<2> X = 5; // bitfield is too small, reject9}10