view llvm/test/TableGen/TemplateArgRename.td @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: llvm-tblgen --no-warn-on-unused-template-args %s
// XFAIL: vg_leak

// 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>;