1 // RUN: llvm-tblgen %s | FileCheck %s
4 // CHECK: class Y<list<string> Y:S = ?> {
5 // CHECK: list<string> T1 = !listconcat(Y:S, ["foo"]);
6 // CHECK: list<string> T2 = !listconcat(Y:S, !listconcat(["foo"], !listconcat(Y:S, ["bar", "baz"])));
10 // CHECK: list<string> T1 = ["fu", "foo"];
11 // CHECK: list<string> T2 = ["fu", "foo", "fu", "bar", "baz"];
14 class Y<list<string> S> {
15 list<string> T1 = !listconcat(S, ["foo"]);
16 list<string> T2 = !listconcat(S, ["foo"], S, ["bar", "baz"]);