• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2
3$f = comdat any
4; CHECK: $f = comdat any
5
6$f2 = comdat any
7; CHECK-NOT: f2
8
9@v = global i32 0, comdat($f)
10; CHECK: @v = global i32 0, comdat($f)
11
12@a = alias i32, i32* @v
13; CHECK: @a = alias i32, i32* @v{{$}}
14
15define void @f() comdat($f) {
16  ret void
17}
18; CHECK: define void @f() comdat {
19
20$i = comdat largest
21@i = internal global i32 0, comdat($i)
22