| ; RUN: not llvm-as %s -disable-output 2>&1 | FileCheck %s |
| define void @b() !kcfi_type !0 { |
| ; CHECK: function must have a single !kcfi_type attachment |
| define void @f0() !kcfi_type !0 !kcfi_type !0 { |
| ; CHECK: !kcfi_type must have exactly one operand |
| define void @f1() !kcfi_type !1 { |
| ; CHECK: expected a constant operand for !kcfi_type |
| define void @f2() !kcfi_type !2 { |
| ; CHECK: expected a constant integer operand for !kcfi_type |
| define void @f3() !kcfi_type !3 { |
| ; CHECK: expected a 32-bit integer constant operand for !kcfi_type |
| define void @f4() !kcfi_type !4 { |