1; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
2
3; CHECK: error: atomicrmw fadd operand must be a floating point type
4define void @f(i32* %ptr) {
5  atomicrmw fadd i32* %ptr, i32 2 seq_cst
6  ret void
7}
8