1 ; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
3 ; Check that remangling code doesn't fail on an intrinsic with wrong signature
5 ; CHECK: Attribute after last parameter!
6 ; CHECK-NEXT: ptr @llvm.memset.i64
7 declare void @llvm.memset.i64(ptr nocapture, i8, i64) nounwind
9 ; CHECK: Attribute after last parameter!
10 ; CHECK-NEXT: ptr @llvm.memcpy.i64
11 declare void @llvm.memcpy.i64(ptr nocapture, i8, i64) nounwind
13 ; CHECK: Attribute after last parameter!
14 ; CHECK-NEXT: ptr @llvm.memmove.i64
15 declare void @llvm.memmove.i64(ptr nocapture, i8, i64) nounwind