mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
a3dd1c8170
!if([Something], []) would error with "No type for list". llvm-svn: 210572
8 lines
148 B
TableGen
8 lines
148 B
TableGen
// 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]);
|
|
}
|