1*9880d681SAndroid Build Coastguard Worker; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; CHECK: Call graph node <<null function>> 4*9880d681SAndroid Build Coastguard Worker; CHECK: CS<{{.*}}> calls function 'callee' 5*9880d681SAndroid Build Coastguard Worker; CHECK: Call graph node for function: 'caller' 6*9880d681SAndroid Build Coastguard Worker; CHECK: CS<{{.*}}> calls function 'callee' 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Workerdefine internal void @callee(...) { 9*9880d681SAndroid Build Coastguard Workerentry: 10*9880d681SAndroid Build Coastguard Worker unreachable 11*9880d681SAndroid Build Coastguard Worker} 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Workerdefine void @caller() { 14*9880d681SAndroid Build Coastguard Workerentry: 15*9880d681SAndroid Build Coastguard Worker call void (...) @callee( void (...)* @callee ) 16*9880d681SAndroid Build Coastguard Worker unreachable 17*9880d681SAndroid Build Coastguard Worker} 18