• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s > %t
2; RUN: llvm-nm -without-aliases - < %t | FileCheck %s
3; RUN: llvm-nm - < %t | FileCheck --check-prefix=WITH %s
4
5; CHECK-NOT: T a0bar
6; CHECK-NOT: T a0foo
7; CHECK: T bar
8; CHECK: T foo
9
10; WITH: T a0bar
11; WITH: T a0foo
12; WITH: T bar
13; WITH: T foo
14
15@a0foo = alias void ()* @foo
16
17define void @foo() {
18  ret void
19}
20
21@a0bar = alias void ()* @bar
22
23define void @bar() {
24  ret void
25}
26