Chandler Carruth | 49589f0 | 2012-07-02 18:37:59 +0000 | [diff] [blame] | 1 | ; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s |
Duncan Sands | 99c1a7c | 2008-09-09 12:40:47 +0000 | [diff] [blame] | 2 | |
3 | @a = global void ()* @f ; <void ()**> [#uses=0] | ||||
4 | |||||
Bill Wendling | c6490d1 | 2012-04-24 10:36:42 +0000 | [diff] [blame] | 5 | ; CHECK: calls function 'f' |
6 | |||||
Duncan Sands | 99c1a7c | 2008-09-09 12:40:47 +0000 | [diff] [blame] | 7 | define internal void @f() { |
8 | unreachable | ||||
9 | } |