☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
libstdc++-v3
/
testsuite
/
29_atomics
/
headers
/
stdatomic.h
/
115807.cc
☽
☼
libstdc++-v3/testsuite/29_atomics/headers/stdatomic.h/115807.cc
code
plain
raw
1
// { dg-do compile { target c++23 } }
2
#include <stdatomic.h>
3
namespace other {
4
namespace std {
5
int atomic = 0;
6
}
7
_Atomic(long) a{};
8
}
9
10
#include <type_traits>
11
12
namespace non::std {
13
static_assert( ::std::is_same_v<_Atomic(int), ::std::atomic<int>> );
14
}