summaryrefslogtreecommitdiffstats
path: root/llvm/test/LLVMC/ExternOptions.td
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-08-15 07:07:24 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-08-15 07:07:24 +0000
commitb1ec90bcf4efda53e6a12eccdea6ac106a2e0d45 (patch)
tree52b0396b31b081e7960c5c8452b519e49fcd0eaf /llvm/test/LLVMC/ExternOptions.td
parent6ba0ca7f40d48caaf7396d07975abfde6e96348c (diff)
downloadbcm5719-llvm-b1ec90bcf4efda53e6a12eccdea6ac106a2e0d45.tar.gz
bcm5719-llvm-b1ec90bcf4efda53e6a12eccdea6ac106a2e0d45.zip
Update tests.
llvm-svn: 111096
Diffstat (limited to 'llvm/test/LLVMC/ExternOptions.td')
-rw-r--r--llvm/test/LLVMC/ExternOptions.td26
1 files changed, 0 insertions, 26 deletions
diff --git a/llvm/test/LLVMC/ExternOptions.td b/llvm/test/LLVMC/ExternOptions.td
deleted file mode 100644
index c033db06b80..00000000000
--- a/llvm/test/LLVMC/ExternOptions.td
+++ /dev/null
@@ -1,26 +0,0 @@
-// 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: FileCheck -input-file %t %s
-// RUN: %compile_cxx -x c++ %t
-// XFAIL: vg_leak
-
-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))]>;
-
-def dummy_tool : Tool<[
-(command "dummy_cmd"),
-(in_language "dummy"),
-(out_language "dummy"),
-(actions (case
- (switch_on "Wall"), (stop_compilation),
- (not_empty "std"), (stop_compilation),
- (not_empty "L"), (stop_compilation)))
-]>;
-
-def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;
OpenPOWER on IntegriCloud