Home | History | Annotate | Download | only in atomics.fences
      1 //===----------------------------------------------------------------------===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is dual licensed under the MIT and the University of Illinois Open
      6 // Source Licenses. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 // UNSUPPORTED: libcpp-has-no-threads
     11 
     12 // <atomic>
     13 
     14 // void atomic_signal_fence(memory_order m);
     15 
     16 #include <atomic>
     17 
     18 int main()
     19 {
     20     std::atomic_signal_fence(std::memory_order_seq_cst);
     21 }
     22