projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add support for frame pointers, and large offsets from stack and frame pointers....
[oota-llvm.git]
/
test
/
TableGen
/
SuperSubclassSameName.td
1
// RUN: tblgen < %s
2
// Test for template arguments that have the same name as superclass template
3
// arguments.
4
5
6
class Arg { int a; }
7
def TheArg : Arg { let a = 1; }
8
9
10
class Super<Arg F> {
11
int X = F.a;
12
}
13
class Sub<Arg F> : Super<F>;
14
def inst : Sub<TheArg>;
15
16
17
class Super2<int F> {
18
int X = F;
19
}
20
class Sub2<int F> : Super2<F>;