diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-12-15 07:21:14 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-12-15 07:21:14 +0000 |
commit | f8bc1e4b277dc85a89f93738d7de4d324a093fb4 (patch) | |
tree | 7c376988345d1bc894aade373190826f4af9ab81 /test/LLVMC/ExternOptions.td | |
parent | 545f96814bd881d57d961aa51465e977f9172b2d (diff) | |
download | llvm-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/ExternOptions.td')
-rw-r--r-- | test/LLVMC/ExternOptions.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/LLVMC/ExternOptions.td b/test/LLVMC/ExternOptions.td index 4694b106e2..a05f2ca15b 100644 --- a/test/LLVMC/ExternOptions.td +++ b/test/LLVMC/ExternOptions.td @@ -1,11 +1,13 @@ // Check that extern options work. // The dummy tool and graph are required to silence warnings. // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t -// RUN: grep {extern .* AutoGeneratedSwitch_Wall} %t +// RUN: FileCheck -input-file %t %s // RUN: %compile_cxx -fexceptions -x c++ %t include "llvm/CompilerDriver/Common.td" +// CHECK: extern cl::opt<bool> AutoGeneratedSwitch_Wall + def OptList : OptionList<[(switch_option "Wall", (extern)), (parameter_option "std", (extern)), (prefix_list_option "L", (extern))]>; |