1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Workerdeclare void @a(i64* byval inalloca %p) 4*9880d681SAndroid Build Coastguard Worker; CHECK: Attributes {{.*}} are incompatible 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdeclare void @b(i64* inreg inalloca %p) 7*9880d681SAndroid Build Coastguard Worker; CHECK: Attributes {{.*}} are incompatible 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Workerdeclare void @c(i64* sret inalloca %p) 10*9880d681SAndroid Build Coastguard Worker; CHECK: Attributes {{.*}} are incompatible 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Workerdeclare void @d(i64* nest inalloca %p) 13*9880d681SAndroid Build Coastguard Worker; CHECK: Attributes {{.*}} are incompatible 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Workerdeclare void @e(i64* readonly inalloca %p) 16*9880d681SAndroid Build Coastguard Worker; CHECK: Attributes {{.*}} are incompatible 17*9880d681SAndroid Build Coastguard Worker 18*9880d681SAndroid Build Coastguard Workerdeclare void @f(void ()* inalloca %p) 19*9880d681SAndroid Build Coastguard Worker; CHECK: do not support unsized types 20*9880d681SAndroid Build Coastguard Worker 21*9880d681SAndroid Build Coastguard Workerdeclare void @g(i32* inalloca %p, i32 %p2) 22*9880d681SAndroid Build Coastguard Worker; CHECK: inalloca isn't on the last parameter! 23