Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git] / test / TableGen / ifbit.td
blob3b0349e19b4e619e3d71b675c2d2517c2be73d80
1 // RUN: tblgen %s | FileCheck %s
2 // XFAIL: vg_leak
3 // CHECK: a = 6
4 // CHECK: a = 5
6 class A<bit b = 1> {
7   int a = !if(b, 5, 6);
10 def X : A<0>;
11 def Y : A;