1 ; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
3 ; CHECK: Attribute 'immarg' is incompatible with other attributes
4 declare void @llvm.immarg.byval(ptr byval(i32) immarg)
6 ; CHECK: Attribute 'immarg' is incompatible with other attributes
7 declare void @llvm.immarg.inalloca(ptr inalloca(i32) immarg)
9 ; CHECK: Attribute 'immarg' is incompatible with other attributes
10 declare void @llvm.immarg.inreg(i32 inreg immarg)
12 ; CHECK: Attribute 'immarg' is incompatible with other attributes
13 declare void @llvm.immarg.nest(ptr nest immarg)
15 ; CHECK: Attribute 'immarg' is incompatible with other attributes
16 declare void @llvm.immarg.sret(ptr sret(i32) immarg)
18 ; CHECK: Attribute 'immarg' is incompatible with other attributes
19 declare void @llvm.immarg.zeroext(i32 zeroext immarg)
21 ; CHECK: Attribute 'immarg' is incompatible with other attributes
22 declare void @llvm.immarg.signext(i32 signext immarg)
24 ; CHECK: Attribute 'immarg' is incompatible with other attributes
25 declare void @llvm.immarg.returned(i32 returned immarg)
27 ; CHECK: Attribute 'immarg' is incompatible with other attributes
28 declare void @llvm.immarg.noalias(ptr noalias immarg)
30 ; CHECK: Attribute 'immarg' is incompatible with other attributes
31 declare void @llvm.immarg.readnone(ptr readnone immarg)
33 ; CHECK: Attribute 'immarg' is incompatible with other attributes
34 declare void @llvm.immarg.readonly(ptr readonly immarg)