blob: 62462ce3da134544734c3da4ac45c1255cdb8944 [file] [log] [blame]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
define void @f(i32* %a, i32 %b, i32 %c) {
; CHECK: invalid cmpxchg success ordering
%x = cmpxchg i32* %a, i32 %b, i32 %c unordered monotonic
ret void
}