llvm-project/llvm/test/TableGen/if-empty-list-arg.td

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
148 B
TableGen
Raw Normal View History

// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class C<bit cond> {
list<int> X = !if(cond, [1, 2, 3], []);
list<int> Y = !if(cond, [], [4, 5, 6]);
}