fork download
  1. #include <atomic>
  2. std::atomic<int> outside(1);
  3. class A{
  4. std::atomic<int> inside(1);
  5. };
  6.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:25: error: expected identifier before numeric constant
prog.cpp:4:25: error: expected ',' or '...' before numeric constant
stdout
Standard output is empty