summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic-simulators/invalid-atomic/main.cpp
blob: 7b4c51c921a9c5acc60b4514235d929b162e49ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace std {
template <typename T> struct atomic {
  int foo;
  int bar;
};

namespace __1 {
template <typename T> struct atomic {
  int foo;
  int bar;
};
} // namespace __1
} // namespace std

int main() {
  std::atomic<int> a{1, 2};
  std::atomic<void> b{3, 4};

  std::__1::atomic<int> c{5, 6};
  std::__1::atomic<void> d{7, 8};

  return 0; // Set break point at this line.
}