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// <atomic>
11
12// void atomic_thread_fence(memory_order m);
13
14#include <atomic>
15
16int main()
17{
18    std::atomic_thread_fence(std::memory_order_seq_cst);
19}
20