llvm-6502/test/Verifier/llvm.used-invalid-type2.ll

6 lines
205 B
LLVM
Raw Normal View History

; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
@llvm.used = appending global i32 0, section "llvm.metadata"
; CHECK: Only global arrays can have appending linkage!
; CHEKC-NEXT: i32* @llvm.used