diff options
Diffstat (limited to 'test/TableGen')
-rw-r--r-- | test/TableGen/defmclass.td | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/TableGen/defmclass.td b/test/TableGen/defmclass.td index 55482da..57972b6 100644 --- a/test/TableGen/defmclass.td +++ b/test/TableGen/defmclass.td @@ -36,3 +36,15 @@ multiclass Y { // CHECK: int check = 0; defm Instr : Y, VEX; + + +// Anonymous defm. + +multiclass SomeAnonymous<int x> { + def rm; + def mr; +} + +// These multiclasses shouldn't conflict. +defm : SomeAnonymous<1>; +defm : SomeAnonymous<2>;
\ No newline at end of file |