Sign in
gnu
/
gcc
/
926d9947847a0683cf34de6fc231209747576088
/
.
/
libgomp
/
testsuite
/
libgomp.c
/
pr64824.c
blob: 544d0b0fc1ff1a15bd7e1a0801a4386d100dcbc6 [
file
] [
log
] [
blame
]
/* PR c/64824 */
/* { dg-do run } */
/* { dg-options "-O2 -fopenmp" } */
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
;
}