llvm/llvm/test/Transforms/LowerAtomic/barrier.ll

; RUN: opt < %s -passes=lower-atomic -S | FileCheck %s

define void @barrier() {
; CHECK-LABEL: @barrier(
  fence seq_cst
; CHECK-NEXT: ret
  ret void
}