10 lines
188 B
LLVM
10 lines
188 B
LLVM
|
; RUN: opt < %s -passes=print-callgraph -disable-output 2>&1 | FileCheck %s
|
||
|
|
||
|
@a = global ptr @f ; <ptr> [#uses=0]
|
||
|
|
||
|
; CHECK: calls function 'f'
|
||
|
|
||
|
define internal void @f() {
|
||
|
unreachable
|
||
|
}
|