Remove declaration of llvm.trap; Add test