llvm.org GIT mirror llvm / release_22 test / TableGen / TemplateArgRename.td
release_22

Tree @release_22 (Download .tar.gz)

TemplateArgRename.td @release_22raw · history · blame

// RUN: tblgen %s

// Make sure there is no collision between XX and XX.
def S;

class Before<int XX>;
class After : Before<4> {
  dag XX = (S);
}



class C1<int X> {
  int Y = X;
}
class C2<int Y, dag X> : C1<Y>;