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(i32* byval(i32) immarg)
6 ; CHECK: Attribute 'immarg' is incompatible with other attributes
7 declare void @llvm.immarg.inalloca(i32* 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(i32* nest immarg)
15 ; CHECK: Attribute 'immarg' is incompatible with other attributes
16 declare void @llvm.immarg.sret(i32* 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(i32* noalias immarg)
30 ; CHECK: Attribute 'immarg' is incompatible with other attributes
31 declare void @llvm.immarg.readnone(i32* readnone immarg)
33 ; CHECK: Attribute 'immarg' is incompatible with other attributes
34 declare void @llvm.immarg.readonly(i32* readonly immarg)