llvm.org GIT mirror llvm / 7b6ee7d
new testcase for a tblgen bug that alkis ran into git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11947 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
1 changed file(s) with 20 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 // RUN: tblgen < %s
1 // Test for template arguments that have the same name as superclass template
2 // arguments.
3
4
5 class Arg { int a; }
6 class TheArg : Arg { let a = 1; }
7
8
9 class Super {
10 int X = F.a;
11 }
12 class Sub : Super;
13 def inst : Sub;
14
15
16 class Super2 {
17 int X = F;
18 }
19 class Sub2 : Super2;