llvm.org GIT mirror llvm / release_50 test / Other / llvm-nm-without-aliases.ll
release_50

Tree @release_50 (Download .tar.gz)

llvm-nm-without-aliases.ll @release_50raw · history · blame

; RUN: llvm-as < %s > %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
}