Add a missing error handling to llvm-lto.
[oota-llvm.git] / test / Feature / intrinsic-noduplicate.ll
1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2
3 ; Make sure LLVM knows about the noduplicate attribute on the
4 ; llvm.cuda.syncthreads intrinsic.
5
6 declare void @llvm.cuda.syncthreads()
7
8 ; CHECK: declare void @llvm.cuda.syncthreads() #[[ATTRNUM:[0-9]+]]
9 ; CHECK: attributes #[[ATTRNUM]] = { noduplicate nounwind }