// RUN: llvm-tblgen %s | FileCheck %s // CHECK: class Y Y:S = ?> { // CHECK: list T1 = !listconcat(Y:S, ["foo"]); // CHECK: list T2 = !listconcat(Y:S, !listconcat(["foo"], !listconcat(Y:S, ["bar", "baz"]))); // CHECK: } // CHECK: def Z { // CHECK: list T1 = ["fu", "foo"]; // CHECK: list T2 = ["fu", "foo", "fu", "bar", "baz"]; // CHECK: } class Y S> { list T1 = !listconcat(S, ["foo"]); list T2 = !listconcat(S, ["foo"], S, ["bar", "baz"]); } def Z : Y<["fu"]>;