diff --git a/test/Other/invalid-commandline-option.ll b/test/Other/invalid-commandline-option.ll index cef09b9b6bb..60840fa010a 100644 --- a/test/Other/invalid-commandline-option.ll +++ b/test/Other/invalid-commandline-option.ll @@ -1,3 +1,3 @@ -; RUN: llvm-as < /dev/null | not opt --foo >& /dev/null +; RUN: not opt --foo |& grep {Unknown command line argument} ; there is no --foo