1; RUN: opt -S -unique-internal-linkage-names < %s | FileCheck %s
2; RUN: opt -S -passes=unique-internal-linkage-names < %s | FileCheck %s
3
4source_filename = "foo.c"
5
6@glob = internal global i32 0
7
8define internal i32 @foo() {
9entry:
10  ret i32 0
11}
12
13; CHECK: @glob.__uniq.6ae72bb15a7d1834b42ae042a58f7a4d = internal global
14; CHECK: define internal i32 @foo.__uniq.6ae72bb15a7d1834b42ae042a58f7a4d()
15