1 // RUN: llvm-tblgen %s | FileCheck %s
4 // Check that !cond works with an empty list value.
8 list<int> X = !cond(cond: [1, 2, 3], True : []);
9 list<int> Y = !cond(cond: [], True : [4, 5, 6]);
14 // CHECK: Y = [4, 5, 6];
19 // CHECK: X = [1, 2, 3];