1 ; RUN: opt -S -name-anon-globals < %s | FileCheck %s
2 ; RUN: opt -prepare-for-thinlto -O0 -module-summary -o %t.bc < %s
5 ; foo contribute to the unique hash for the module
10 ; bar is internal, and does not contribute to the unique hash for the module
11 define internal void @bar() {
15 ; CHECK: @anon.acbd18db4cc2f85cedef654fccc4a4d8.3 = global i8 0
16 ; CHECK: @anon.acbd18db4cc2f85cedef654fccc4a4d8.4 = alias i8, i8* @anon.acbd18db4cc2f85cedef654fccc4a4d8.3
17 ; CHECK: define void @anon.acbd18db4cc2f85cedef654fccc4a4d8.0()
18 ; CHECK: define void @anon.acbd18db4cc2f85cedef654fccc4a4d8.1()
19 ; CHECK: define void @anon.acbd18db4cc2f85cedef654fccc4a4d8.2()