167e6cab4SBob Wilson// RUN: tblgen %s 2*2f87b54fSJeffrey Yasskin// XFAIL: vg_leak 367e6cab4SBob Wilsonclass x { 467e6cab4SBob Wilson field bits<32> A; 567e6cab4SBob Wilson} 667e6cab4SBob Wilson 767e6cab4SBob Wilsonclass y<bits<2> B> : x { 867e6cab4SBob Wilson let A{21-20} = B; 967e6cab4SBob Wilson} 1067e6cab4SBob Wilson 1167e6cab4SBob Wilsondef z : y<{0,?}>; 12