Sign in
gnu
/
gcc
/
967424dcde6bf2d821b581b8f75b5a839e650fed
/
.
/
libgomp
/
testsuite
/
libgomp.c-c++-common
/
pr64824.c
blob: b39675b9524585db23cbdcab2aa380dc6412729b [
file
] [
log
] [
blame
]
/* PR c/64824 */
/* { dg-do run } */
int
main
()
{
long
long
a
;
long
long
b
=
1LL
;
int
c
=
3
;
#pragma
omp atomic capture
a
=
b
=
c
<<
b
;
if
(
b
!=
6LL
||
a
!=
6LL
)
__builtin_abort
();
return
0
;
}