1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/TableGen/if-empty-list-arg.td

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]);
}