blob: cd5bd4beff575322667ff35ae787009ce591bb8f [file] [log] [blame]
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
; CHECK: error: atomicrmw fsub operand must be a floating point type
define void @f(i32* %ptr) {
atomicrmw fsub i32* %ptr, i32 2 seq_cst
ret void
}