blob: f02cdde4b8ca0c0b00fe0e96b044632c028b7768 [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(ptr %ptr) {
atomicrmw fsub ptr %ptr, i32 2 seq_cst
ret void
}