Sign in
llvm
/
llvm-project
/
libcxx
/
703ccf0d738d17bc09f252817f7d6c21a1acfe60
/
.
/
test
/
libcxx
/
atomics
/
ext-int.verify.cpp
blob: 3f57437f43cc6f89ca0b823cdd1a18a838e45c02 [
file
] [
log
] [
blame
]
// REQUIRES: clang-11
#include
<atomic>
int
main
(
int
,
char
**)
{
// expected-error@atomic:*1 {{_Atomic cannot be applied to integer type '_ExtInt(32)'}}
std
::
atomic
<
_ExtInt
(
32
)>
x
{
42
};
return
0
;
}