[RISCV] Check isFixedLengthVector before calling getVectorNumElements in getSingleShu...
[llvm-project.git] / llvm / test / TableGen / listflatten-error.td
blob2f13356b6792f209b8a5733178b82921c2a76ad8
1 // RUN: not llvm-tblgen %s 2>&1 | FileCheck %s  -DFILE=%s
3 // CHECK: [[FILE]]:[[@LINE+2]]:33: error: expected list type argument in unary operator
4 class Flatten<int A> {
5     list<int> F = !listflatten(A);