1 ; RUN: not llvm-as %s -disable-output 2>&1 | FileCheck %s
7 define void @b() !kcfi_type !0 {
11 ; CHECK: function must have a single !kcfi_type attachment
12 define void @f0() !kcfi_type !0 !kcfi_type !0 {
17 ; CHECK: !kcfi_type must have exactly one operand
18 define void @f1() !kcfi_type !1 {
21 !1 = !{!"string", i32 0}
23 ; CHECK: expected a constant operand for !kcfi_type
24 define void @f2() !kcfi_type !2 {
29 ; CHECK: expected a constant integer operand for !kcfi_type
30 define void @f3() !kcfi_type !3 {
35 ; CHECK: expected a 32-bit integer constant operand for !kcfi_type
36 define void @f4() !kcfi_type !4 {