blob: b0b912d7b34bb9ca1f4aabcec5e230ace77b2b19 [file] [log] [blame] [edit]
// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
// Test that 'let append' with bit range produces an error.
class Base {
bits<8> flags = 0;
}
// CHECK: error: Cannot use append/prepend with bit range
def Bad : Base {
let append flags{0-3} = 0;
}