; RUN: opt < %s -loweratomic -S | FileCheck %s

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