if-empty-list-arg.td 148 B

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