aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier/llvm.used-invalid-init.ll
blob: b0887c994e77bc076c7266cbab85c4cced81695c (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s

@llvm.used = appending global [1 x i8*] zeroinitializer, section "llvm.metadata"

; CHECK: wrong initalizer for intrinsic global variable
; CHECK-NEXT: [1 x i8*] zeroinitializer