https://github.com/epiqc/ScaffCC
Raw File
Tip revision: 067cc59bd7a234226b81962ea78260b95061620b authored by ah744 on 01 February 2017, 21:14:46 UTC
Afree() Implemetation Complete
Tip revision: 067cc59
SuperSubclassSameName.td
// RUN: llvm-tblgen < %s
// XFAIL: vg_leak
// Test for template arguments that have the same name as superclass template
// arguments.


class Arg { int a; }
def TheArg : Arg { let a = 1; }


class Super<Arg F> {
  int X = F.a;
}
class Sub<Arg F> : Super<F>;
def inst : Sub<TheArg>;


class Super2<int F> {
  int X = F;
}
class Sub2<int F> : Super2<F>;
back to top