llvm-project/llvm/test/TableGen/listflatten-error.td
Rahul Joshi ec31f76df1
[NFC] Fix line endings for OptionStrCmp.h and .td test files (#109806)
Fix line endings for these files to Unix style.
2024-09-24 12:24:17 -07:00

7 lines
207 B
TableGen

// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s -DFILE=%s
// CHECK: [[FILE]]:[[@LINE+2]]:33: error: expected list type argument in unary operator
class Flatten<int A> {
list<int> F = !listflatten(A);
}