[RuntimeDyld] Make sure we emit MachO __eh_frame and __gcc_except_tab sections,
[oota-llvm.git] / test / Other / invalid-commandline-option.ll
index cef09b9b6bbc4eda9a095e2bbd80290f40fae2cd..583d4496dcc06622b584c169fc64efd76c5ae275 100644 (file)
@@ -1,3 +1,3 @@
-; RUN: llvm-as < /dev/null | not opt --foo >& /dev/null
+; RUN: not opt --foo 2>&1 | grep "Unknown command line argument"
 
 ; there is no --foo