Sign in
llvm
/
llvm
/
8924ea3d57d5fdfc11ce7562c3eaf0ce127ebc86
/
.
/
test
/
Assembler
/
invalid-atomicrmw-xchg-must-be-integer-or-fp-type.ll
blob: d0a794bd0244a028a66ce14eba2aa067b882c872 [
file
] [
log
] [
blame
]
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
; CHECK: error: atomicrmw xchg operand must be an integer or floating point type
define
void
@f
(
i32
**
%ptr
)
{
atomicrmw
xchg
i32
**
%ptr
,
i32
*
null
seq_cst
ret
void
}