mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-01 21:04:04 -04:00
9bda9a4b47
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343656 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
206 B
LLVM
8 lines
206 B
LLVM
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: error: atomicrmw add operand must be an integer
|
|
define void @f(float* %ptr) {
|
|
atomicrmw add float* %ptr, float 1.0 seq_cst
|
|
ret void
|
|
}
|