David Greene | 93ea95e | 2009-05-05 16:28:25 +0000 | [diff] [blame] | 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">; |