Home | History | Annotate | Download | only in TableGen
      1 // RUN: llvm-tblgen %s
      2 // XFAIL: vg_leak
      3 
      4 // Make sure there is no collision between XX and XX.
      5 def S;
      6 
      7 class Before<int XX>;
      8 class After : Before<4> {
      9   dag XX = (S);
     10 }
     11 
     12 
     13 
     14 class C1<int X> {
     15   int Y = X;
     16 }
     17 class C2<int Y, dag X> : C1<Y>;
     18 
     19