Mercurial > hg > CbC > CbC_llvm
view test/TableGen/SuperSubclassSameName.td @ 3:9ad51c7bc036
1st commit. remove git dir and add all files.
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 15 May 2013 06:43:32 +0900 |
parents | |
children |
line wrap: on
line source
// 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>;