Retro68/gcc/libgomp/testsuite/libgomp.c-c++-common/pr64824.c

16 lines
212 B
C
Raw Normal View History

2015-08-28 15:33:40 +00:00
/* 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;
}