12 lines · plain
1// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s2// XFAIL: vg_leak3 4class A<int dummy> {}5class B<int dummy> : A<dummy> {}6class C<int dummy> : A<dummy> {}7 8// CHECK: Field 'x' of type 'C' is incompatible with value '{{.*}}' of type 'A'9class X<int cc, B b, C c> {10 C x = !cond(cc: b, 1 : c);11}12