llvm-project/llvm/test/Regression/Assembler/2002-07-14-InternalLossage.llx

12 lines
194 B
Plaintext

; Test to make sure that the 'internal' tag is not lost!
;
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep internal
declare void %foo()
implementation
internal void %foo() {
ret void
}