Add a way to look up a type by it's name in a module.
[oota-llvm.git] / test / TableGen / MultiClassDefName.td
1 // RUN: tblgen %s | grep WorldHelloCC | count 1
2
3 class C<string n> {
4   string name = n;
5 }
6
7 multiclass Names<string n, string m> {
8    def CC : C<n>;
9    def World#NAME#CC : C<m>;
10 }
11
12 defm Hello : Names<"hello", "world">;