Fail even if opt doesn't print anything.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 18 Nov 2006 06:08:21 +0000 (06:08 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 18 Nov 2006 06:08:21 +0000 (06:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31844 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/BasicAA/modref.ll

index aaf0b035532569c42c6074976eba6c5e71ace0a9..acf439ff5086d09c8d09cff785658e38b64d21a6 100644 (file)
@@ -1,3 +1,6 @@
+; A very rudimentary test on AliasAnalysis::getModRefInfo.
+; RUN: llvm-as < %s | opt -print-all-alias-modref-info -aa-eval -disable-output
+&&
 ; RUN: llvm-as < %s | opt -print-all-alias-modref-info -aa-eval -disable-output 2>&1 | not grep NoModRef
 
 int %callee() {