summaryrefslogtreecommitdiffstats
path: root/llvm/test/LLVMC/MultiValuedOption.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/LLVMC/MultiValuedOption.td')
-rw-r--r--llvm/test/LLVMC/MultiValuedOption.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/LLVMC/MultiValuedOption.td b/llvm/test/LLVMC/MultiValuedOption.td
index 108eb86dbeb..8cb18782700 100644
--- a/llvm/test/LLVMC/MultiValuedOption.td
+++ b/llvm/test/LLVMC/MultiValuedOption.td
@@ -1,12 +1,13 @@
// Check that multivalued options work.
// The dummy tool and graph are required to silence warnings.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
-// RUN: grep cl::multi_val(2) %t | count 1
+// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td"
def OptList : OptionList<[
+ // CHECK: cl::multi_val(2)
(prefix_list_option "foo", (multi_val 2)),
(parameter_list_option "baz", (multi_val 2), (extern))]>;
OpenPOWER on IntegriCloud