summaryrefslogtreecommitdiff
path: root/test/TableGen/DefmInherit.td
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen/DefmInherit.td')
-rw-r--r--test/TableGen/DefmInherit.td8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/TableGen/DefmInherit.td b/test/TableGen/DefmInherit.td
index b52a709731..ee86e9bd70 100644
--- a/test/TableGen/DefmInherit.td
+++ b/test/TableGen/DefmInherit.td
@@ -1,4 +1,10 @@
-// RUN: llvm-tblgen %s | grep "zing = 4" | count 4
+// RUN: llvm-tblgen %s | FileCheck %s
+
+// CHECK: zing = 4
+// CHECK: zing = 4
+// CHECK: zing = 4
+// CHECK: zing = 4
+// CHECK-NOT: zing = 4
class C1<int A, string B> {
int bar = A;