CWG 1394: Incomplete types as parameters of deleted functions
[llvm-project.git] / llvm / test / TableGen / BitsInitOverflow.td
blobcf5d1ca85bc28800285c1a901fee713cf5cf5433
1 // RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
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:
7 def {
8   bits<2> X = 5;  // bitfield is too small, reject