Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[oota-llvm.git] / test / Analysis / CallGraph / 2008-09-09-UsedByGlobal.ll
1 ; RUN: opt < %s -print-callgraph -disable-output |& \
2 ; RUN:   grep {Calls function}
3
4 @a = global void ()* @f         ; <void ()**> [#uses=0]
5
6 define internal void @f() {
7         unreachable
8 }