llvm-project/llvm/test/Assembler/2002-07-14-InternalLossage.ll

10 lines
177 B
LLVM
Raw Normal View History

; Test to make sure that the 'internal' tag is not lost!
;
2008-02-14 15:57:12 +08:00
; RUN: llvm-as < %s | llvm-dis | grep internal
2008-02-14 15:57:12 +08:00
declare void @foo()
2008-02-14 15:57:12 +08:00
define internal void @foo() {
ret void
}