diff options
Diffstat (limited to 'test/TableGen')
-rw-r--r-- | test/TableGen/MultiClassDefName.td | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/TableGen/MultiClassDefName.td b/test/TableGen/MultiClassDefName.td index 69b951d378..811d92667e 100644 --- a/test/TableGen/MultiClassDefName.td +++ b/test/TableGen/MultiClassDefName.td @@ -29,3 +29,13 @@ multiclass MC<string name> { defm : MC<"foo">; +multiclass MC2<string name> { + def there : Outer<C<name> >; +} + +// Ensure that we've correctly captured the reference to name from the implicit +// anonymous C def in the template parameter list of Outer. +// CHECK-NOT: MC2::name + +defm : MC2<"bar">; + |