1 // RUN: not llvm-tblgen -DERROR1 %s 2>&1 | FileCheck --check-prefix=ERROR1 %s
2 // RUN: not llvm-tblgen -DERROR2 %s 2>&1 | FileCheck --check-prefix=ERROR2 %s
4 defvar list1 = ["foo", "bar", "snork"];
6 // Pasting a list with a reserved word should produce an error.
10 list<string> the_list = list1 # in;
12 // ERROR1: error: Unknown or reserved token when parsing a value
16 // Pasting an identifier with a reserved word should produce an error.
21 // ERROR2: error: Unknown or reserved token when parsing a value