blob: 0eb2418c628a4051a397c1b922a9222bc969be77 [file] [log] [blame]
//===-- main.cpp --------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <atomic>
struct S {
int x = 1;
int y = 2;
};
int main ()
{
std::atomic<S> s;
s.store(S());
std::atomic<int> i;
i.store(5);
return 0; // Set break point at this line.
}