diff options
author | Dan Gohman <gohman@apple.com> | 2008-02-23 01:55:25 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-02-23 01:55:25 +0000 |
commit | 63d2d1f554216cf7a27c05b034398fd9acb4fb3f (patch) | |
tree | 1230fa26bb4af2a64f73fa2568e20c3e8070575c /llvm/test/Other | |
parent | 4d1767199777ae11d8e529b5a640bc3b1dfa7473 (diff) | |
download | bcm5719-llvm-63d2d1f554216cf7a27c05b034398fd9acb4fb3f.tar.gz bcm5719-llvm-63d2d1f554216cf7a27c05b034398fd9acb4fb3f.zip |
Fix a bug that caused opt and other tools to silently ignore
invalid command-line options.
llvm-svn: 47523
Diffstat (limited to 'llvm/test/Other')
-rw-r--r-- | llvm/test/Other/invalid-commandline-option.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Other/invalid-commandline-option.ll b/llvm/test/Other/invalid-commandline-option.ll new file mode 100644 index 00000000000..b74c49857e3 --- /dev/null +++ b/llvm/test/Other/invalid-commandline-option.ll @@ -0,0 +1,3 @@ +; RUN: llvm-as < /dev/null | not opt --foo > /dev/null + +; there is no --foo |