; RUN: opt -name-anon-globals -module-summary < %s | llvm-bcanalyzer -dump | FileCheck %s -check-prefix=BC ; RUN: opt -passes=name-anon-globals -module-summary < %s | llvm-bcanalyzer -dump | FileCheck %s -check-prefix=BC ; Check for summary block/records. ; BC: [#uses=0] @h = external global void ()* ; [#uses=0] define internal void @0() nounwind { entry: store void()* @0, void()** @h br label %return return: ; preds = %entry ret void } define i32 @variadic(...) { ret i32 42 }