Mercurial > hg > CbC > CbC_llvm
diff llvm/test/TableGen/TemplateArgRename.td @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | c4bab56944e8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/llvm/test/TableGen/TemplateArgRename.td Thu Feb 13 15:10:13 2020 +0900 @@ -0,0 +1,18 @@ +// RUN: llvm-tblgen %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>; +