mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
9e863883e1
llvm-svn: 359383
26 lines
410 B
LLVM
26 lines
410 B
LLVM
; RUN: llvm-as %s -o %t
|
|
; RUN: llvm-nm --without-aliases %t | FileCheck %s
|
|
; RUN: llvm-nm %t | FileCheck --check-prefix=WITH %s
|
|
|
|
; CHECK-NOT: T a0bar
|
|
; CHECK-NOT: T a0foo
|
|
; CHECK: T bar
|
|
; CHECK: T foo
|
|
|
|
; WITH: T a0bar
|
|
; WITH: T a0foo
|
|
; WITH: T bar
|
|
; WITH: T foo
|
|
|
|
@a0foo = alias void (), void ()* @foo
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|
|
|
|
@a0bar = alias void (), void ()* @bar
|
|
|
|
define void @bar() {
|
|
ret void
|
|
}
|