summaryrefslogtreecommitdiff
path: root/test/LLVMC/MultiValuedOption.td
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-12-15 07:21:14 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-12-15 07:21:14 +0000
commitf8bc1e4b277dc85a89f93738d7de4d324a093fb4 (patch)
tree7c376988345d1bc894aade373190826f4af9ab81 /test/LLVMC/MultiValuedOption.td
parent545f96814bd881d57d961aa51465e977f9172b2d (diff)
downloadllvm-f8bc1e4b277dc85a89f93738d7de4d324a093fb4.tar.gz
llvm-f8bc1e4b277dc85a89f93738d7de4d324a093fb4.tar.bz2
llvm-f8bc1e4b277dc85a89f93738d7de4d324a093fb4.tar.xz
Convert llvmc tests to FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLVMC/MultiValuedOption.td')
-rw-r--r--test/LLVMC/MultiValuedOption.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/LLVMC/MultiValuedOption.td b/test/LLVMC/MultiValuedOption.td
index 108eb86dbe..8cb1878270 100644
--- a/test/LLVMC/MultiValuedOption.td
+++ b/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))]>;