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