Mark test/TableGen/listconcat.td as XFAIL:vg_leak. llvm-tblgen is ignorant of vg_leak.
[oota-llvm.git] / test / TableGen / listconcat.td
1 // RUN: llvm-tblgen %s | FileCheck %s
2 // XFAIL: vg_leak
3
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"])));
7 // CHECK: }
8
9 // CHECK: def Z {
10 // CHECK:   list<string> T1 = ["fu", "foo"];
11 // CHECK:   list<string> T2 = ["fu", "foo", "fu", "bar", "baz"];
12 // CHECK: }
13
14 class Y<list<string> S> {
15   list<string> T1 = !listconcat(S, ["foo"]);
16   list<string> T2 = !listconcat(S, ["foo"], S, ["bar", "baz"]);
17 }
18
19 def Z : Y<["fu"]>;