llvm-project/llvm/test/Assembler/2007-08-06-AliasInvalid.ll

8 lines
167 B
LLVM

; RUN: llvm-as < %s > /dev/null |& grep {Invalid type for reference to global}
; PR1577
@anInt = global i32 1 alias i32 @anAlias
define i32 @main() {
ret i32 0
}