llvm-mirror/test/Other/invalid-commandline-option.ll
Duncan Sands ac8ddfc48d Test this differently: I saw this test fail
because opt exited while llvm-as was still
writing to the pipe, causing it to get a
SIGPIPE.  It seems best to change things to
avoid the race altogether.

llvm-svn: 54138
2008-07-28 19:09:01 +00:00

4 lines
82 B
LLVM

; RUN: not opt --foo |& grep {Unknown command line argument}
; there is no --foo