Sign in
fuchsia
/
third_party
/
llvm-project
/
fddbff147357a7f5618fb6166b716ad60c3eb9fc
/
.
/
llvm
/
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
}