blob: 904b5abbdca4d2bcf24544157354a655a89143e6 [file] [log] [blame] [edit]
// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
// Test that 'let append' on unsupported types produces an error.
class Base {
int count = 0;
}
// CHECK: error: Cannot append to field 'count' of type 'int' (expected list, string, code, or dag)
def Bad : Base {
let append count = 1;
}