Revert r231132, "Correctly handle -pass-remarks in the gold plugin.", for now, to...
[oota-llvm.git] / test / TableGen / defmclass.td
index 55482da4d07211929cd521b46812d46e81002a10..80f03b319426e42e8f0db62ce7e48c62d9bb09ec 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: tblgen %s | FileCheck %s
+// RUN: llvm-tblgen %s | FileCheck %s
 // XFAIL: vg_leak
 
 class XD { bits<4> Prefix = 11; }
@@ -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