aboutsummaryrefslogtreecommitdiff
path: root/test/TableGen/foreach.td
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen/foreach.td')
-rw-r--r--test/TableGen/foreach.td14
1 files changed, 11 insertions, 3 deletions
diff --git a/test/TableGen/foreach.td b/test/TableGen/foreach.td
index 7b7c19972884..541da49ccde3 100644
--- a/test/TableGen/foreach.td
+++ b/test/TableGen/foreach.td
@@ -1,6 +1,14 @@
-// RUN: llvm-tblgen %s | grep 'Jr' | count 2
-// RUN: llvm-tblgen %s | grep 'Sr' | count 2
-// RUN: llvm-tblgen %s | grep '"NAME"' | count 1
+// RUN: llvm-tblgen %s | FileCheck %s
+// XFAIL: vg_leak
+
+// CHECK: Classes
+// CHECK: Sr
+// CHECK: Jr
+// CHECK: "NAME"
+
+// CHECK: Defs
+// CHECK: Jr
+// CHECK: Sr
// Variables for foreach
class decls {