Fix pr5470. Tablegen handles template arguments by temporarily setting their
[oota-llvm.git] / test / TableGen / UnsetBitInit.td
1 // RUN: tblgen %s
2 class x {
3   field bits<32> A;
4 }
5
6 class y<bits<2> B> : x {
7   let A{21-20} = B;
8 }
9
10 def z : y<{0,?}>;