summaryrefslogtreecommitdiff
path: root/test/Analysis
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-18 06:08:21 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-18 06:08:21 +0000
commit64fc3411b054cd7e9f5a644966f8c00f3d8db2b8 (patch)
treea816bd615229aa3b4e123398269297bc31606c3c /test/Analysis
parent1faa5491d2b5d982766376dd550ae39c68633860 (diff)
downloadllvm-64fc3411b054cd7e9f5a644966f8c00f3d8db2b8.tar.gz
llvm-64fc3411b054cd7e9f5a644966f8c00f3d8db2b8.tar.bz2
llvm-64fc3411b054cd7e9f5a644966f8c00f3d8db2b8.tar.xz
Fail even if opt doesn't print anything.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r--test/Analysis/BasicAA/modref.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Analysis/BasicAA/modref.ll b/test/Analysis/BasicAA/modref.ll
index aaf0b03553..acf439ff50 100644
--- a/test/Analysis/BasicAA/modref.ll
+++ b/test/Analysis/BasicAA/modref.ll
@@ -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() {