llvm.org GIT mirror llvm / release_90 test / TableGen / cond-empty-list-arg.td
release_90

Tree @release_90 (Download .tar.gz)

cond-empty-list-arg.td @release_90raw · history · blame

1
2
3
4
5
6
7
8
// RUN: llvm-tblgen %s
// XFAIL: vg_leak

class C<bit cond> {
  bit true = 1;
  list<int> X = !cond(cond: [1, 2, 3], true : []);
  list<int> Y = !cond(cond: [], true : [4, 5, 6]);
}