Home | History | Annotate | Download | only in TableGen
      1 // RUN: llvm-tblgen %s | FileCheck %s
      2 // XFAIL: vg_leak
      3 
      4 // CHECK: --- Defs ---
      5 
      6 // CHECK: def A0 {
      7 // CHECK:   int ret = 3;
      8 // CHECK: }
      9 
     10 class A<int a,
     11         int b = !add(a, 1),
     12         int sum = !add(a, b)> {
     13   int ret = sum;
     14 }
     15 
     16 def A0 : A<1>;
     17