mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-08 13:36:26 +00:00
![Matt Arsenault](/assets/img/avatar_default.png)
!if([Something], []) would error with "No type for list". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210572 91177308-0d34-0410-b5e6-96231b3b80d8
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]);
|
|
}
|