You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
248 B

// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak
// CHECK: --- Defs ---
// CHECK: def A0 {
// CHECK: int ret = 3;
// CHECK: }
class A<int a,
int b = !add(a, 1),
int sum = !add(a, b)> {
int ret = sum;
}
def A0 : A<1>;